Created
October 14, 2009 21:55
-
-
Save mikewadhera/210445 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> s = Satisfaction.new | |
=> #<Satisfaction:0x25d90559 @options={:root=>"http://api.getsatisfaction.com", :autoload=>false, :request_token_url=>"http://getsatisfaction.com/api/request_token", :access_token_url=>"http://getsatisfaction.com/api/access_token", :authorize_url=>"http://getsatisfaction.com/api/authorize"}, @identity_map=#<Sfn::IdentityMap:0x59e4abb6 @pages={}, @records={}>, @loader=#<Sfn::Loader:0x33c567d5 @options={:cache=>:hash}, @cache=#<Sfn::Loader::HashCache:0x193a5460 @cached_responses={}>>> | |
>> s.set_consumer("f96r2nvoer7m", "trqk9ktsw7rdy8h7l1t8s0a1v2htg37t") | |
=> #<OAuth::Consumer:0xeac2918 @key="f96r2nvoer7m", @options={:signature_method=>"HMAC-SHA1", :request_token_path=>"/oauth/request_token", :authorize_path=>"/oauth/authorize", :access_token_path=>"/oauth/access_token", :proxy=>nil, :scheme=>:header, :http_method=>:post, :oauth_version=>"1.0"}, @secret="trqk9ktsw7rdy8h7l1t8s0a1v2htg37t"> | |
>> s.people.page(1, :facebook_id => "1234").load | |
=> [:unauthorized, "Access Denied: You do not have the appropriate permissions to search by facebook ID"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment