Hurray! You have built your very own conversational Twitter bot. I would strongly recommend that you take this further and explore other kinds of conversation that you can possibly have with the bot. How about having the bot search and retweet hashtags automatically for you? How would you use metrics, such as retweet counts, follower numbers, and like counts, to qualify a tweet for retweeting? Explore these questions to build better and more useful Twitter bots.Â
In this chapter, we have covered a lot. We started off with the Twitter API and got a taste of how we can automatically tweet, retweet, and search for tweets using hashtags. We then explored a News source API that provides news articles from about 70 different newspapers. We integrated it with our Twitter bot to create a new tweeting bot. We explored how to personalize it for users by using user interest...