Establishes an API connection to Twitter using Tweepy and retweet tweets based on criteria
First, installation of dependencies
make install
Second, configuration of configuration file, edit credentials.py
vim python_retweet/configuration/credentatials.py
Finally, run the script 🎉
make run
The best is to use a crontab
0 */2 * * * python3 github/python-retweet/python_retweet/ > /dev/null 2>&1
We 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