Permalink
Browse files

Merge pull request #47 from ramin/master

Updating Flickraw oauth_web example to reflect library api change
  • Loading branch information...
2 parents 0b579d1 + da08fce commit eeeb3e6183c98baab1706fb64a47705dda9fcbc0 @hanklords committed Sep 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/web_oauth.rb
View
2 examples/web_oauth.rb
@@ -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

0 comments on commit eeeb3e6

Please sign in to comment.