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
by
1 Reply