• Stars
    star
    127
  • Rank 281,963 (Top 6 %)
  • Language
    Python
  • License
    Mozilla Public Li...
  • Created over 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Retweets tweets mentioning your hashtag/search query. Supports Twitter API v1.1.

Python Retweet Bot

alt text

This script retweets all Tweets containing your search term. To limit Twitter requests a savepoint file marks Tweets found before. It's Twitter API v1.1 ready.

Dependecies:

  • Tweepy

pip install tweepy

  • Or alternatively

pip install -r requirements.txt

How to start:

  • Define your hashtag or search query in the config file
  • Define the number of Retweets at a time (This avoids overloading -Limit is 180 RT/ 15 mins)
  • Add your Twitter app credentials in the config file
  • (Tune some other options if you like)
  • $ python retweet.py
  • Add this call to your crontab(unix)/task scheduler(windows) (or something similar) to retweet all new tweets regularly

Compatibility

Compatible with Python 3.x ,tested on Python 3.5.