A delightful Twitter/Ruby on Rails learning project.
How to use
sudo gem install json yaml rest-open-uri
passwordto match yours
chmod +x turpentine.rb
- To post tweets, open a new window and run
gem sources -a http://gems.github.com
sudo gem install moomerman-twitter_oauth
- Edit the
oauth. You’ll need to register for OAuth and edit the
config.yamlfor your consumer key and secret.
This is all pretty clumsy at the moment, but it’s getting better. Here are some of the bigger concerns:
- The only things that currently work are tweeting, viewing @replies, and seeing the friends_timeline. Favorites, direct messages, &c. don’t exist.
- It would be good to verify that successful responses have a 200 code. I’m not
sure how to do it;
rest-open-uridoesn’t seem to expose such information.
- Currently there is no time zone support, so you’ll see weird timestamps.