OauthUser.identify_or_create_from_access_token won't work for strings #9

Closed
chancancode opened this Issue Apr 27, 2009 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

chancancode commented Apr 27, 2009

Despite the error message from the first line of OauthUser.identify_or_create_from_access_token (oauth_user.rb line 14) said "Must authenticate with an OAuth::AccessToken or the string access token and secret." - it actually won't work for Strings. The next line will cause a NoMethodError / String#get.

My use case for using string tokens and secrets:
My app has an "app user" and I need to parse the timeline of this app user. I saved the app user's token and secret in twitter_auth.yml and I need to be able to create an OauthUser based on these credentials.

Contributor

chancancode commented Apr 27, 2009

Patch submitted.

Owner

mbleigh commented Apr 27, 2009

Accepted patch.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment