Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaoganghan/twitter-bot
a twitter bot for programming.reddit
https://github.com/xiaoganghan/twitter-bot
Last synced: 1 day ago
JSON representation
a twitter bot for programming.reddit
- Host: GitHub
- URL: https://github.com/xiaoganghan/twitter-bot
- Owner: xiaoganghan
- License: bsd-3-clause
- Created: 2010-08-23T06:40:38.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2014-02-15T04:23:06.000Z (over 10 years ago)
- Last Synced: 2024-08-02T05:12:24.959Z (3 months ago)
- Language: Python
- Homepage: http://twitter.com/reddit_prog_hot
- Size: 597 KB
- Stars: 24
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
===============================
twitter-bot
===============================.. image:: https://badge.fury.io/py/twitter-bot.png
:target: http://badge.fury.io/py/twitter-bot.. image:: https://travis-ci.org/chrishan/twitter-bot.png?branch=master
:target: https://travis-ci.org/chrishan/twitter-bot.. image:: https://pypip.in/d/twitter-bot/badge.png
:target: https://crate.io/packages/twitter-bot?version=latesttwitter bot
Dumps hot links instead of new links on programming.reddit only after they've got more than 5 comments.
* Free software: BSD license
Get started
-----------* 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
Features
--------* TODO