Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

OauthUser.identify_or_create_from_access_token won't work for strings #9

Closed
chancancode opened this Issue · 2 comments

2 participants

@chancancode

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.

@chancancode

Patch submitted.

@mbleigh
Owner

Accepted patch.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.