mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-30 15:31:10 +00:00
790 B
790 B
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