automatic photo bot post on twitter
-
Clone and installing twython:
git clone https://github.com/amaqkkg/twitterPhotoBot.git
sudo apt-get install python-setuptools
sudo easy_install pip
sudo pip install twython
-
Change TwitterBot.py permission:
sudo chmod +x TwitterBot.py
-
Automatic execution with cron job:
using
sudo crontab -e
on Unix/Linux systems for periodically executing this script.you can use this if you want to execute the script every hour:
0 * * * * python /address/to/TwitterBot.py
or go to crontab-generator for more settings.