Hi Carlos,

If you are making a 2-legged oauth call, you can optionally avoid
oauth_body_hash. But you have to specify xoauth_requestor_id. That is the
only way we can know who the "viewer" of the request is. I would suggest
avoiding oauth_body_hash (at least for testing) since it is not mandatory.

And yes, xoauth_requestor_id is mandatory and is part of the base string.

Here is an example base string.

POST&http%3A%2F%2Fsandbox.orkut.com
%2Fsocial%2Frpc&oauth_body_hash%3D5fhTk%2D%252FWn1nbtxMnN8yZzWk%252FyA%253D%26oauth_consumer_key%3Dorkut.com%253A60%26oauth_nonce%3D00232537%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1274677016%26oauth_version%3D1.0%26xoauth_requestor_id%3D018512666316881006356

Thanks,
Sachin

On Mon, May 24, 2010 at 4:46 AM, Prashant (Google) <[email protected]> wrote:

> Hi Carlos,
>
> No, they're both not required and shouldn't be supplied.
>
> ~Prashant
>
> On May 23, 2:10 pm, Carlos <[email protected]> wrote:
> > Hi, I am getting "invalid signature" from my REST calls, so I wanted
> > to make sure if the signature is built from the oauth 1.0 parameters
> > and
> > - oauth_body_hash required or not, if true if it is part of the base
> > string
> > - xoauth_requestorr_id if required, if is part of the base string or
> > not
> >
> > Regards, Carlos
> >
> > --
> > 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]<opensocial-orkut%[email protected]>
> .
> > For more options, visit this group athttp://
> groups.google.com/group/opensocial-orkut?hl=en.
>
> --
> 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]<opensocial-orkut%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/opensocial-orkut?hl=en.
>
>

-- 
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