In this segment you will learn how to make a simple Twitter bot to query for a term and retweet posts that include it. This video goes through the process of setting up a Twitter Developer account (though the interface has seen a few updates), as well as Python Coding using the Twython module for API calls. I'm running the script from my iPhone running the iOS mobile app Pythonista.
Read this as an article on Medium: https://medium.com/@mdf_365/how-to-create-a-twitter-bot-b94d8abaabc8