An open API service indexing awesome lists of open source software.

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

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/