Inspiration
I got the inspiration to build this Twitter bot during MLH and Github Education Octocat Contest. I saw many wonderful and creative octocats build by the participants from all over the world so I thought, why not appreciate the efforts made by the participants every week in creating awesome octocats?
What it does
Cool Octocat Bot is an automated Twitter bot that will appreciate (like, retweet and comment) all the Octocats created during MLH weekly hackathons for the Github Octocat Contest to appreciate the efforts of participants.
Just tweet your creative octocat with bot username @Cool_OctocatBot and #myoctocat hashtag and the bot will respond back soon in seconds by "Great Job, All the Best! #EatSleepCodeRepeat " and other various encouraging words.
How we built it
I built it Tweepy: Twitter for Python!
my_twitter_bot.py - This is the main python file that includes all the logic.
last_seen_id.txt - This will contain the ID of the tweet that my_twitter_bot.py has seen last. If you see any errors when running the main python file, try replacing the content with the ID of one of the tweets you want to examine.
Challenges we ran into
We ran into challenges when we have to extract and visualize the hashtags as many people write hashtags in different ways, some write in capital and some write in small so we have to look into that so that the bot should respond correctly every time.
Accomplishments that we're proud of
We were able to create an awesome Twitter bot that appreciates the wonderful octocats created every weekend during Major League Hackathons
What we learned
We learned tweepy and how to use Twitter API.
What's next for Cool-Octocat-Twitter-Bot
We will try to make more bots like this and spread positivity.
Built With
- api
- python
- tweepy


Log in or sign up for Devpost to join the conversation.