Fake Twitter Follower Removal Script

by Clayton Lambert

About 3 months ago I released a Twitter Egg Follower removal script. Ever since, my YouTube comments, Email, and Skype have been filled with requests for a complete bot removal script. With my classes, work, other projects, and a slight lack of motivation, I decided to push it off and procrastinate. Yesterday, I wrapped up my last final and came straight home with good intentions to finish my script, however; my procrastination has lead to some unforeseeable issues.


I’m not sure if I should point my finger at Google or Twitter, but recent security measures implemented to prevent cross site scripting blocked a huge piece of functionality that my idea relied on.

unsafe_eval

My original idea was to pull each account on the page, stick them into an array, then attach an iFrame to the DOM so I could load data from each account and weight them based on post statistics. With the new Content Security Policy in place, inline scripts are not allowed to load in any data, and are pretty much restricted to DOM manipulation. Unfortunate, considering I had previously tested this idea and it worked flawlessly, but that’s not the end of the road. We still have plenty of data available to us in each user element on the followers page.

[ Video Soon ]

The New Script


Disclaimer: The script is not perfect, there are false positives. Use at your own discretion.



Admittedly, the new script flails in comparison to the original idea. My first runs with the original script were almost 95% accurate in detecting fake accounts. With the new idea implemented, we see accuracy resting somewhere around 70 – 75%. It really all depends how “real” the fake accounts appear to be.


This script isn’t the end all to fake followers like I had intended it to be. Instead, it’s something entirely new. This script could be considered an “account legitamitizer”. It doesn’t get rid of all fake followers, but it does remove the obvious ones giving your Twitter account the appearance of real followers even though we know that’s not true.

How To Use


Go to https://twitter.com/followers/ in Google Chrome.

followers_list


Right Click the page and click “Inspect Element”. Inside that window find and click the “Console” tab.

followers


Copy the script, and paste it into the Console. Then press Enter and the script will begin to run.

console_paste


After the script is ran an alert box will popup, please read the small message so you understand what is happening with the tab.



At this point all you have to do is let the script do it’s thing. The page will auto scroll up and down to load in more followers. If for some reason the script gets stuck, simply reload the page and run the script again.

Conclusion


This isn’t the script that I meant to make, but it’s something that I believe a lot of people will find useful. I will continue to try and find a way to get my original idea to work, however; the outlook does not look promising at the moment.

If you come across an issue with the script, let me know either here in the comments or tweet @ClaytonnLambert. Twitter periodically updates things like class names on the elements and it breaks my scripts. It’s usually a quick fix, so just give me a heads up and I can update it.

Know someone that would find this post interesting? Share it with them!
Share on FacebookTweet about this on TwitterShare on RedditShare on Google+Pin on PinterestShare on TumblrShare on StumbleUpon

Comments

  • Jane David says:

    Doesn’t work bro

  • JellyB says:

    Hi Clayton

    Thank you so much fro creating this. Although it’s slow but it works. I’ve been going round in circles trying to find a way to get rid of egg followers so this was awesome. Thank you!

  • johns says:

    this is awesome! works very fast and accurate!

  • Cristhian says:

    Cool! Can we force to unfollow those people that hasn’t been tweeted a year ago, or more?

    • Clayton Lambert says:

      Unfortunately not, due to how this script is implemented, we only have access to data that is loaded onto the page. Currently this script is using a combo of user data including the profile picture, header, username and bio. Unfortunately it’s not perfect, there are false positives, but it’s at least a decent solution for people who are being botted.

  • Jeffrey says:

    First thanks so much for creating this. The egg removal script is working fine. The fake follower one was working until tonight. Now I’m getting this error message:

    Get
    init.59ba0aabeedf723276b9448772c91627df01c87d.js:356 GET https://pbs.twimg.com/profile_banners/955726364/1413122035/600×200 404 Not Found.

    Not sure what’s happening.

  • Maya says:

    Is it possible for the script to wipe out followers with ‘saved’ in their name?

  • Sean says:

    Hey Clayton, is there any way you can create a script that could unblock all these accounts? My blocked list is massive now and its created a lot of clutter.

  • VinZ says:

    Great work! Thank you very much for this work as I was looking for a solution to clean my account for years!
    Just a pity the script stops from time to time and I need to launch it again. Any idea how we could force the script to work without breaks ?

  • chris says:

    Hello – it starts then it says ‘undefined in the console tab under the script. Any advice? I’ve tried reloading it but ut stops after a couple of page shuffles.

  • Cy says:

    Hello, is this possible to change the Block into Mute instead? I would like to have this feature to inspect if there any false positive before I actually remove my followers.

  • Anton says:

    Don’t use it! It doesn’t work at all! I’ve lost dozens of legitimate followers.

  • Fery says:

    Clayton Lambert, can you make the script auto scrolldown ?

  • Bill B says:

    Thanks for the script but I’m currently getting the error:
    “Uncaught TypeError: $(…).each is not a function(…)remover.loadAccounts…”

    • Charles says:

      Yes, thanks, but I’m getting the same error. VM149:9 Uncaught TypeError: $(…).each is not a function(…)

  • avayaz says:

    thankyou so much u ANGEL

  • Wanda says:

    THANK YOU THANK YOU THANK YOU. It worked fantastically. I am so happy you created this.

  • Anthony says:

    Does this script still work?

  • michael says:

    THANK YOU! Worked great!!!!

  • suscovich says:

    it’s Nov 2016 and still worked well. THANKYOU!!!

  • Kiki says:

    Can you PLEASE write a script that gets rid of ALL of the people following you? I am an advocate against human trafficking and my twitter account is getting bombed with followers and your script is a wee bit too careful and leaves about 1000 that I have to remove by hand. Thanks!

  • Julia says:

    Out of 85+ followers, I’ve at least 6k eggs. I tried your app twice but it stalls or quits after about 8 hours.

  • Julia says:

    Correction: Out of 85K+ followers

  • Philippe Marziale says:

    Thanks a lot bro !!! 🙂

  • Phil says:

    How about a back end solution that scrapes the html of the twitter account page and stores it locally to be analyzed?

  • Girm says:

    Wasn’t working until I scrolled down to manually load followers list then worked like a charm! Thanks!

  • matthieu says:

    Hi that’s working but not anymore : net::ERR_NAME_NOT_RESOLVED

  • Lorenzo says:

    Doesn’t work


  • Add Comment