python-scripts/scripts/twitter_streamer_bot
2022-10-05 18:49:28 +05:30
..
code.py Adding Twitter Bot program 2022-10-05 18:49:28 +05:30
config.ini Adding Twitter Bot program 2022-10-05 18:49:28 +05:30
README.md Adding Twitter Bot program 2022-10-05 18:49:28 +05:30
requirements.txt Adding Twitter Bot program 2022-10-05 18:49:28 +05:30

TWITTER BOT

This is a Twitter bot, it will like and retweet your tweet, containing some keyword and will print the url of tweet.
Here I used the twython library to use Twitter API, this library can be used to all the things mentioned in Twitter API document.

Prerequisites

Check requirements.txt, for twython check here Generate your unique Twitter keys and token from here by creating a new app.

How to run the script

Update the keys and tokens in code.
Run the python file and enter the keyword you want to track, now any new tweet will automatically liked and retweeted. It will print the link of tweet