/python-retweet

Establishes an API connection to Twitter using Tweepy and retweet tweets based on criteria

Primary LanguagePythonMIT LicenseMIT

Python reweet bot (rtbot)

DeepSource CodeInspector Score CodeInspector Status

Establishes an API connection to Twitter using Tweepy and retweet tweets based on criteria

Installation

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

Usage

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

TODO

See the Projects section on Github

Author

Repository available on Github

License

Useful links