Uber e o uso de nudges

Aplicativos de celulares usam cada vez mais a arquitetura de escolhas (através do design UX/UI) a fim de engajar tanto clientes quanto prestadores para um melhor uso de suas plataformas. A própria…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Grow Your Twitter Following Fast

Twitter Followers Icon

With just 2 lines of code

Last week right before Christmas I made my first ever twitter account. Being a professional developer, of course, I wanted to see the code. While I can not look at the server side code, I can look at the front end code with a quick right-click view source in chrome. Here I discovered something pretty cool that has allowed me to gain my first 100 followers in about 5 minutes of work, Plus a cool new GitHub repo.

Why did I do this? The same reason most dev’s write software. To see if I could. Now I’m going to show you how to do it too! Let’s break it down.

While inspecting the code I found a nice little pattern with the classes used for the CSS front end. Using a single line of jQuery I was able to like about 50 tweets in less than a second. That line of code was:

I simply targeted the classes used for the like button and told jQuery to click it! This got me really excited and I decided to see if I could automate it even further.

Given that Twitter only loads about 20 or so tweets per-page until you scroll down, I knew I would have to scroll in order to like more stuff, and if I just did it continuously I was pretty sure twitter would ban my account. This led me to this next block of code.

This worked out perfectly. So I set it up to run overnight and went to bed. To my dismay, when I came back in the morning, Twitter had blocked the script from running and needed human verification and had only liked about 200 tweets. Sad day 😢.

Never the less, my goal had been accomplished. I technically automated the process. While very simple for a bot, It was usually fine to leave running for about 5…

Add a comment

Related posts:

Docker and the private repo nightmare

If you ever had to include a private repository into your Docker build then you know it’s a nightmare. At least in the beginning when you have never done it before. * Spoiler Alert: Use the vendor…

How to setup Cognio with third party Federated Identities provider such as OKTA using SAML

I recently had to implement Amazon Cognito with third party federated identities provider such as OKTA, where cognito should NOT do authentication for you, your authentication should be done by OKTA…

Time to let go

Full moon approaches time to release I could let you melt away wash my worries from the table but I feed on your scraps because, In response to Fierce Force 💃🏼’s poem and prompt “Release”…