// the find
rhiever/TwitterFollowBot
A Python bot that automates several actions on Twitter, such as following users and favoriting tweets.
A Python bot for automating Twitter follow/unfollow/favorite/retweet actions, built on the v1 Twitter API via python-twitter. The author has publicly archived it because Twitter began banning accounts that use it. It's a historical reference at this point, not something to actually deploy.
The API is clean and readable — each action is a single method call with sensible defaults. Local caching of follower lists to work around rate limits is the right design. Supporting multiple bot instances via separate config files is a nice touch for anyone running multiple accounts. The code is simple enough to use as a starting point for building on the current Twitter/X API.
Twitter's v1.1 API is shut down, so none of this works without a paid API tier and significant rewriting. The python-twitter dependency it relies on is itself largely abandoned. No tests, no retry logic beyond the backoff parameters, and error handling appears to be minimal throughout. The author explicitly warns you can get banned using it, and that warning is now even more relevant given X's aggressive enforcement against automation.