twog
Install
sudo gem install twog
OAuth
Please read this if you want to know how to get your Twitter OAuth consumer key/secret and access token/secret. One you have those, run the rake command:
rake generate_config
and a hidden configuration file will be created in the your home folder (~/.twog.yaml). Once there, please fill it out with the information necessary to use this tool.
Bitly API
In order to use Bitly for URL shortening, you’ll need to go to http://bit.ly and click the Sign Up link on the top right and get an account. Once you are logged-in you click the Account link in the same top right area. You will see your API Key in the middle of the page.
Put your bit.ly username and api key into the ~/.twog.yaml file to be used in the code.
cron
The idea is to setup cron to run the bin/twog script.
For example, I run ‘crontab -e’ and this lets me edit my user’s crontab file and I put the following:
*/15 * * * * jmeridth twog
Will be wiring up the cronedit gem later
TODO
Please check the TODO file for items that are to be done in the near future.
Technical Reviewers
Chris MacGown (ChristopherMacGown) Matt Dietz (cerberus98) Paul Voccio (pvo) Joe Ocampo (agilejoe)
Copyright
Copyright © 2010 Jason Meridth. See LICENSE for details.