I'm somewhat burnt out on PHP development, and want to get into Ruby.
The twitter_oauth gem by @moomerman looks great.

He says:  "Now if you keep hold of the access_token (usually in the
database) for this user you won’t need to re-authorize them next time.
When you create an instance of the client you can just pass in the
access token and secret that you have stored."

Then he specifies this in the code -

"access_token = @user.access_token # assuming @user"

But this is somewhat opaque to me, given the documentation.  How do I
create @user such that I can initialize Client.new( ) properly?  I
have the component parts of an access token, of course.

If I can do this without the authorization steps, then I can develop
locally without having to deal with the callback, which makes
development feasible.  Does a rubyist have a simple snippet of how to
login via twitter_oauth without authorization URL?

~Patrick

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to