Gravatar XML-RPC request problem in Objective-C
- by Erik
Hi all,
I'm trying to incorporate some Gravatar functionality using its XML-RPC API in an iPhone app I'm writing. I grabbed the Cocoa XML-RPC Framework by Eric Czarny (http://github.com/eczarny/xmlrpc) and it works well when I tested it with some of the Wordpress methods. However, when I try to use the Gravatar API, I always receive a response of "Error code: -9 Authentication error". I think I'm constructing the request correctly, but I've been wracking my brain and can't seem to figure it out. Maybe someone has some experience with this API or can see what I'm doing wrong. Here's the call:
<?xml version="1.0">
<methodCall>
<methodName>grav.addresses</methodName>
<params>
<param><value><string>PASSWORD_HERE</string></value></param>
</params>
</methodCall>
Again, the Cocoa XML-RPC Framework worked like a dream with Wordpress, but it's choking on the Gravatar API for some reason.
Thanks for your help.