Twitter bot for @LoLfrontpage
Gets the front page of reddit.com/r/leagueoflegends and puts it on Twitter
###Requirements
-
python + pip
-
twitter account (Need to have mobile authentication to change app permissions - workaround here)
-
Hosting where you can save files
###SETUP
-
install tweeper and requests using pip
-
Make a Twitter app here and change permission from read to r/w
-
Fill in the access token / consumer key(a.k.a. API key) in the script
-
Set up a cron job to run the script every few minutes
-
Set up a cron job to delte any files older than 3 days in the index folder. This will keep the folder from accumulating too much space