Establishes an API connection to Twitter using Tweepy and retweet tweets based on criteria
First, installation of dependencies
make installSecond, configuration of configuration file, edit credentials.py
vim python_retweet/configuration/credentatials.pyFinally, run the script 🎉
make runThe best is to use a crontab
0 */2 * * * python3 github/python-retweet/python_retweet/ > /dev/null 2>&1We can directly launch it from a terminal ( python3 python_retweet/__main__.py )
Note that it is possible to use the Logger class to retrieve the results by mail/sms/file
See the Projects section on Github