Share your repls and programming experiences

← Back to all posts
Stream Twitter for a keyword and quote tweet if verified
CodingStrand (0)

Hello!

Using Tweepy with some Twitter developer keys, I was able to make a bot (24/7 free with Repl, Flask, and UpTimeRobot) that finds new tweets matching a keyword as they come in. If it is from a verified account, the bot will quote tweet it. If it is unverified, it will DM a link to whatever account you choose (an "unverified stream" of sorts). You'll need your own keys and a bit of experience with Repl/python, but the code is yours to use. All instructions are in comments.

Thank you!