Skip to main content


How to Build a Twitter Bot

In this video, Kate Caldwell walks through some popular examples of Twitter bots before taking the audience through the code for @BottyMcGee, a Twitter bot she built. When a user tweets @BottyMcGee, @BottyMcGee tweets back a suggested title for an autobiography/tell-all memoir, based on that user’s most recent tweets. The code for @BottyMcGee utilizes the Twitter API as well as the Twitter and Markov npm packages. Finally the audience tests @BottyMcGee out live by joining Kate in tweeting and receiving their personalized book title suggestions from the @BottyMcGee account.

Project Members: Kate Caldwell

Find the program that fits your life.

Learn about our coding, cybersecurity, and data analytics bootcamps offered on full-time and part-time schedules.