Bot which automatically retweets and likes tweets based on user whitelist.
- Clone a copy of the project to your computer.
git clone https://github.com/MikaSoftware/py-twitter-automaton.git
- Setup your virtual environment.
OS X Environment:
python3 -m venv env
Linux or FreeBSD Environment:
virtualenv env
- Activate the vritual environment.
source env/bin/activate
- Install the required libraries to operate this script.
pip install -r requirements.txt
- 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
- 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
-
Replace the values with your Twitter API Keys/Tokens.
-
Now you are ready to run the application! Enter the following code and you will be able to have it running.
python3 automaton.py