twitter bot
Dumps hot links instead of new links on programming.reddit only after they've got more than 5 comments.
- Free software: BSD license
- install dependencies
pip install -r requirements.txt
- create a file named local_settings.py in the 'twitter-bot/twitter-bot' dir, and copy and parse the following code with the keys obtained from Twitter and Bitly.
TwitterKey = { 'consumer_key': "", 'consumer_secret': "", 'access_token': "", 'access_token_secret': "" } BitlyKey = { 'login': '', 'apikey': '' }
- Create a cron task to run twitter-bot.py, say every five minutes
*/5 * * * * python twitter-bot/twitter-bot/twitter-bot.py
- TODO