Making a Twitter Bot

I’ve wanted to make a Twitter bot that tweets horse_ebooks-esque nonsense based on my personal tweets for a while. It took six years from the creation of the account until I had a working bot. @botdueck is finally live.

Trying to find out what Design Twitter is upset about. @botdueck, 7 May 2022

The bot takes the content of my previous personal tweets and remixes them into new posts, via Markov chains.

This was my first time making anything of this sort and it’s all thanks to Tom Meagher’s heroku_ebooks repo. With Tom’s guide and a lot of trial and error, I was able to get the Twitter API working, and set up a worker on heroku to automatically post every now and then.

Follow, if you’d like. I can’t guarantee the quality.

The longer I make this cup of coffee long. @botdueck, 10 May 2022