https://github.com/saghul/twitterbot
A simple Twitter bot retwitting the given hashtag
https://github.com/saghul/twitterbot
Last synced: about 1 year ago
JSON representation
A simple Twitter bot retwitting the given hashtag
- Host: GitHub
- URL: https://github.com/saghul/twitterbot
- Owner: saghul
- Created: 2010-09-04T11:19:58.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2014-09-23T15:19:18.000Z (almost 12 years ago)
- Last Synced: 2025-04-02T19:04:52.697Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 130 KB
- Stars: 13
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
TwitterBot by saghul
====================
TwitterBot is an easy way of creating a Twitter bot which twitts everything
tagged with a givven tag.
For getting TwitterBot to work you need to create a SQLite database using FTS3:
$ > sqlite3 twitterbot.db
sqlite> CREATE VIRTUAL TABLE twitts USING fts3(id, content);
sqlite> .quit
And add a cron job with the necessary parameters:
*/5 * * * * /home/saghul/work/git/twitterbot/twitter-bot.py -t asterisk > /dev/null 2>&1
-t: Hashtag
You'll need to edit the config.ini file, because Twitter now only
allows OAuth based authentication
Dependencies:
------------
* python-application: http://pypi.python.org/pypi/python-application/
* python-feedparser: http://feedparser.org
* python-oauth2: http://pypi.python.org/pypi/oauth2/
* python-twitter (trunk version): http://pypi.python.org/pypi/python-twitter/