Today I was pointed in the direction of a bug with the way orkut handles
OAuth signing for POST data:
http://code.google.com/p/opensocial-resources/issues/detail?id=103

Assuming the way the java libraries handle this is OAuth spec compliant,
this may be the cause of the error you're experiencing.  You can star that
issue to get notification of any updates.

~Arne



On Fri, Feb 29, 2008 at 1:22 AM, ejpark <[EMAIL PROTECTED]> wrote:

>
> Hi folks, I'm using the java libraries for oauth and it seems to work
> fine for orkut GET requests, but they fail for any orkut POST request
> that has any POST_DATA parameters.  Has anyone else run into this
> problem with java (or any other) library?
>
> Here's snippets of relevant code we're using:
>
> OAuthServiceProvider provider = new OAuthServiceProvider(null, null,
> null);
> OAuthConsumer consumer = new OAuthConsumer(null, "orkut.com", null,
> provider);
> consumer.setProperty(RSA_SHA1.X509_CERTIFICATE, certificate);
> OAuthMessage message = OAuthServlet.getMessage(request, null);
> OAuthAccessor accessor = new OAuthAccessor(consumer);
> message.validateSignature(accessor);
>
> Thanks for any help or insight,
> -e
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to