Invalid API key |
![]() ![]() |
Invalid API key |
| sirikanth |
Jul 9 2009, 03:03 AM
Post
#1
|
|
Group: Members Posts: 4 |
Hi All,
I am trying to connect to Yahoo server to get the Flickr service using API "flickr.search.groups".To use this API i got API key from the Flickr site . I have used it in my code. Afer ran my code I getting error code like below --------------------------- c:/ruby/lib/ruby/1.8/xmlrpc/client.rb:414:in `call': Invalid API Key (Key not found) (XMLRPC::FaultException) from client.rb:13 ------------------------- My ruby client code using XML-RPC: -------------------------------------------- require "xmlrpc/client" # Make an object to represent the XML-RPC server. server = XMLRPC::Client.new2( "http://api.flickr.com/services/xmlrpc/",proxy='wwwinproxy.itg.ti.com:80', timeout=1000) # Call the remote server and get our result result = server.call('flickr.groups.search','c411204bb8093295160f687ca0e9a200','api','5').inspect if result puts 'Hey, it worked!' else puts 'Failed...' end -------------------------------------------- Can anyone suggest me how to resolve the problem? Thanks Sriaknth |
|
|
|
| duzins |
Jul 24 2009, 10:02 AM
Post
#2
|
|
Group: Yahoos Posts: 412 |
Since no one has chimed in here in the Ruby forum, you might consider looking in the Flickr forum. Not sure how many of the devs there are using Ruby, but it's such a large community of developers, I'd guess some would be able to help.
http://code.flickr.com/forum/ Robyn Tippins Community Manager, YDN |
|
|
|
![]() ![]() |