Skip to content

MikaSoftware/py-twitter-automaton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-twitter-automaton

Bot which automatically retweets and likes tweets based on user whitelist.

Setup Instructions

  1. Clone a copy of the project to your computer.
git clone https://github.com/MikaSoftware/py-twitter-automaton.git
  1. Setup your virtual environment.

OS X Environment:

python3 -m venv env

Linux or FreeBSD Environment:

virtualenv env
  1. Activate the vritual environment.
source env/bin/activate
  1. Install the required libraries to operate this script.
pip install -r requirements.txt
  1. Go to http://apps.twitter.com and create an app. Once finished, be sure to make a copy of the following data:
  • Consumer Key
  • Consumer Secret
  • Access Token
  • Access Secret
  1. Go into the source folder and change the secret_settings.py file by entering the values you saved from step (5).
cp src/secret_settings_example.py src/secret_settings.py
vi src/secret_settings.py
  1. Replace the values with your Twitter API Keys/Tokens.

  2. Now you are ready to run the application! Enter the following code and you will be able to have it running.

python3 automaton.py

About

Bot which automatically retweets and likes tweets based on user whitelist.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages