Skip to content

BenAllenUK/TwitterCompetitionBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

TwitterCompetitionBot

Automatically enters you into twitter based competitions. Link to a twitter account and it will retweet any tweets that have a pre-defined set of key words. The program runs every 60 seconds, this is to avoid the rate limit set by Twitter. The program only retweets tweets, it does not yet follow them.

Requirements

You WILL NEED a Twitter account that is linked to a mobile device. You are then able to get a consumer key, consumer secret key, access token key and access secret token.

Installation

  1. FROM GIT CONSOLE: Run git clone https://github.com/BenAllenUK/TwitterCompetitionBot.git in command prompt/terminal. FROM ZIP: Press Download ZIP in the top right of the project page. Extract somewhere

  2. Install Python

  3. Continue to Usage

Usage

  1. Navigate to the src directory in this project

  2. Run python3 main.py in command prompt/terminal.

  3. Follow the instructions given in the console

TODO

  • Change runtime so it removes extra hour
  • Defend against/make the most of the rate limit by checking reaming attempts which are in response HTTP header
  • Instead of just retweeting, follow the account as well.
  • Post randomly generated text so that it looks less like a bot

About

Automatically enters you into competitions based on searches of keywords

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages