Skip to content

Commit

Permalink
Merge pull request #47 from ramin/master
Browse files Browse the repository at this point in the history
Updating Flickraw oauth_web example to reflect library api change
  • Loading branch information
hanklords committed Sep 20, 2012
2 parents 0b579d1 + da08fce commit eeeb3e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/web_oauth.rb
Expand Up @@ -34,7 +34,7 @@ def callback
oauth_token = params[:oauth_token]
oauth_verifier = params[:oauth_verifier]

raw_token = flickr.get_oauth_token(request_token['oauth_token'], request_token['oauth_token_secret'], oauth_verifier)
raw_token = flickr.get_access_token(request_token['oauth_token'], request_token['oauth_token_secret'], oauth_verifier)
# raw_token is a hash like this {"user_nsid"=>"92023420%40N00", "oauth_token_secret"=>"XXXXXX", "username"=>"boncey", "fullname"=>"Darren%20Greaves", "oauth_token"=>"XXXXXX"}
# Use URI.unescape on the nsid and name parameters

Expand Down

0 comments on commit eeeb3e6

Please sign in to comment.