In ~24 hours my Twitter account is going to stop following all accounts, will force-remove all of its followers, and keep a tool running to remove any new ones.
This will keep existing tweets up to preserve external links and allow other's retweets and favorites to remain. But mine will have a nice clean 0 for followers and following.
The tool I slapped together in an hour is at https://github.com/JakeWharton/singular-solution if you want to do the same, although admittedly its first production test will be tomorrow 🤞
Done after ~18 hours!
Start: 69,666 followers
End: 3 followers(!?)
No matter how hard I try those three don't go away. It was four and then one dropped off. So it'll probably happen eventually.
Had to fix rate limiting check (off-by-one), add support for 404s (followers can return deleted users), add support for 503s (service unavailable).
Never hit a rate limit despite ~4,000 block/unblock calls per hour.
My API keys were inexplicably purged halfway through. Had to make new ones to finish.
This server is a place for Jake Wharton. Are you Jake Wharton? This is your place. Are you not Jake Wharton? Well, at least you can find him here.
@jw what if I add a corn job to keep following you every 5 mins 😅