Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 963 Bytes

README.rdoc

File metadata and controls

25 lines (18 loc) · 963 Bytes

Rooster

Simple system to clone tweets from a specific list and post them to the main account.

Currently working on @GreenpeaceUK as part of a social media experiment. Details here: www.greenpeace.org.uk/blog/about/danger-were-opening-our-twitter-account-lots-people-20120410

Tweeps on a private list can push to @GreenpeaceUK by using #gp in their tweets.

Feel free to use/improve the code!

Designed to work on heroku with clock process within cedar stack.

Usage

rooster needs redis to work, so first add redis-to-go addon into your app then create environment variables below

CONSUMER_KEY=YOUR_TWITTER_APP_CONSUMER_KEY
CONSUMER_SECRET=YOUR_TWITTER_APP_CONSUMER_SECRET
OAUTH_TOKEN=538723238-YOUR_TWITTER_APP_OAUTH_TOKEN
OAUTH_TOKEN_SECRET=YOUR_TWITTER_APP_OAUTH_TOKEN
USER=YOUR_TWITTER_USER_NAME
LIST=LIST_TO_WATCH
TAG=TAG_TO_WATCH

in you heroku app, for example;

heroku:config add CONSUMER_KEY=YOUR_TWITTER_APP_CONSUMER_KEY

that’s all!