GitHub - buckseye/python-retweet: Establishes an API connection to Twitter using Tweepy and retweet tweets based on criteria

Python reweet bot (rtbot)

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

Installation

First, installation of dependencies

pipenv install
pipenv sync

Second, configuration of configuration file, edit credentials.py

vim configuration/credentatials.py

Usage

The best is to use a crontab

0 */2 * * * python3 /home/av1m/rtbot/retweet.py > /dev/null 2>&1

We can directly launch it from a terminal (python3 retweet.py)

Note that it is possible to use the Logger class to retrieve the results by mail/sms/file

Author

Repository available on Github

License