Here is a collection of my bots written for Twitter. You can view the repository over on my Github :). They are all written in Python and use the Tweepy library for twitter integration. All the bots below require the use of authenticate_twitter.py. You need to provide your own auth.txt and bearer_token txt files. The format of the files are:
// file: "auth.txt"
<customer token>
<customer token secret>
<access token>
<access token secret>
// file: "bearer_token.txt"
<bearer_token>
My Stoic Quote bot runs on AWS Lambda and tweets random quotes at a daily interval, complete with hashtags and doesn't repeat itself.
My reply_back bot replies back to mentions @ your username. You can modify it to scan for certain keywords and reply back. This also ran on AWS Lambda, but no longer does. (I'm not that popular!)
The retweet_bot checks for tweets that match certain keywords, favourites them and then retweets them. You can customise it to your needs.
My followfollowers bot automatically scans through your follower feed and follows back anyone you're not currently following.
The versions uploaded to AWS slightly differ from the versions you can run on your computer. This is due to AWS Lambda needing to use s3 buckets to write files.
- Integrates with twitter to automate tweets/ automate replies
- Add an AI chatbot
Clone the repo and start running locally. You need to have a Twitter developer account and add your own credentials.
💡 Before you begin, make sure you have all the below installed:
- An editor
- Twitter Developer account
- Python
I'm constantly adding more things, but it isn't completely finished yet.
You can contact me directly and I will try to get around to sorting out the numerous bugs.
If you see an error message or run into an issue, please create bug report.
If you have an idea, or you're missing a capability that would make development easier and more robust, please Submit feature request. I am still working on this from time to time for fun.
Please message me privately if you want to contribute.
- Me, Myself and I