stilist / turpentine
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
LICENSE | ||
| |
README.mdown | ||
| |
authenticate.rb | ||
| |
config-example.yaml | ||
| |
engine.rb | ||
| |
turpentine.rb | ||
| |
twitter.rb |
README.mdown
Turpentine
A delightful Twitter/Ruby on Rails learning project.
How to use
sudo gem install json yaml rest-open-uri- Rename
config-example.yamltoconfig.yaml - Edit
userandpasswordto match yours chmod +x turpentine.rb./turpentine.rb- To post tweets, open a new window and run
./turpentine.rb out
OAuth mode
gem sources -a http://gems.github.comsudo gem install moomerman-twitter_oauth- Edit the
auth_modeline ofconfig.yamlto readoauth. You’ll need to register for OAuth and edit theoauthsection ofconfig.yamlfor your consumer key and secret.
Issues
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.

