Skip to content

Instantly share code, notes, and snippets.

@macmladen
Created March 11, 2016 19:49
Show Gist options
  • Save macmladen/209dffcb83a6f35dc30a to your computer and use it in GitHub Desktop.
Save macmladen/209dffcb83a6f35dc30a to your computer and use it in GitHub Desktop.
Remove all Twitter followers.
/**
* Removes all followers on Twitter, usually added by profile breach.
* Usage: just copy code bellow (triple click on line & CTRL+C ) to the
* Developer console in browser, press ENTER and watch them being deleted.
*/
setInterval(function(){t=$('.following').find('.follow-button');if(!t[0]){window.scrollTo(0,$(document).height());}else{console.log(t.attr('class')); t.trigger('click');}},100)
@SomeEarthling
Copy link

SomeEarthling commented Jun 18, 2016

I want to remove everyone who followed me. The people whom I can't (officially) control. Will this script do it for me?

It says "Following" in the script.

@Jatts-Art
Copy link

this removes ALL followers? no thx!

@macmladen
Copy link
Author

...and is not good to be used as probably Twitter would block you for doing so many removes at a high pace but at that moment it was the only solution to remove the bulk of fake follower accounts without any relation to actual people who followed. This was more of a JavaScript exercise and with some tweaks, it could be much improved, adjusted to work again, lower the removal speed to be more like an actual human, limit the total number per hour/day according to Twitter policies and, maybe, to add exclusion list which would preserve real friends.

If anyone would need that, I could give it a try 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment