Twitter Bots
Twitter has some amazing bot personalities; from celebrity impersonators, to genuinely useful automated announcements. It is also probably the first place anyone was exposed to bots and interacted with them. Some of my favourites are BIGBEN and CaptainMarkov. It is also very easy to make a simple bot, especially if you're familiar with python.
In this post, I'm going to walk you through the creation of Mirror_Bot_1000. Mirror_bot_1000 reads tweets when its username is mentioned, and then makes its own tweet with the mirror image.
It's a great example for the simple interactions with Twitter's API because it requires you to read a message, post a message, and keep track of where you left off. If you want to make your bot more complicated, you just have to modify the decision-making behind the tweets.
The entirety of the code in this example can be found on github here. An intro to python can be found here.
It's a great example for the simple interactions with Twitter's API because it requires you to read a message, post a message, and keep track of where you left off. If you want to make your bot more complicated, you just have to modify the decision-making behind the tweets.
The entirety of the code in this example can be found on github here. An intro to python can be found here.