Sachim, per my experience with orkut, it is getting the oauth values
from the query parameters, It is also looking to the headers for
signature evaluation? Can you explain what elements are taken bu orkut
to build the base string in the server side? I believe I am not that
far to resolution unless there is some parameter I am not sending that
being unseen by orkut, the base sitring for the signature evaluation
gets very different.

As a pluls, can we schedule a test slot so I can send you a @friends
requet to orkut and based on my consumer key you can inspect the logs
to se what is wrong or missing?

On May 30, 9:40 pm, Carlos Crosetti <carlos.crose...@gmail.com> wrote:
> Sachim, in the transcript I forgot to copy the signature from  the URI
> request
>
> oauth_signature=6LAKtxIyFDgu3Yl2s9B6JB%2FZMQM
>
> On 30 mayo, 12:54, Carlos Crosetti <carlos.crose...@gmail.com> wrote:
>
>
>
> > Sachim, at this time I only have GET methods. I would like to have the
> > people, activities and groups requests to pass before implementing
> > POST-PUT-DELETE.
>
> > From my understanding of the spec, the base string parameters and the
> > URL ones must correlate, exept for the oauth_sgnature that is not part
> > off the base string and goes into the actual  URI request.. In the
> > very basic example below, dissecting elements with newline, the base
> > string elements are:
>
> > GET
> > &
> > http%3A%2F%2Fwww.orkut.com%2Fsocial%2Frest%2Fpeople
> > %2F16219742896227080769%2F%40self
> > &
> > oauth_consumer_key%3Dorkut.com%3A617505393776
> > %26oauth_nonce%3D2768853
> > %26oauth_signature_method%3DHMAC-SHA1
> > %26oauth_timestamp%3D1275152272
> > %26oauth_version%3D1.0
> > %26xoauth_requestor_id%3D16219742896227080769
>
> > What else are you looking for to build up he bsee string?
> > By the way, would  be there in orkut rhe source code of the message
> > handler to understnd how the orkut builds the base string in the
> > server side, from the request parameters?
>
> > Regards, Carlos
>
> > On 30 mayo, 11:13, Sachin Shenoy <therealsac...@gmail.com> wrote:
>
> > > Hi Carlos,
>
> > > Can you send us the entire network message? There could be other things
> > > wrong in here, like the method in base string is not what you are using 
> > > (GET
> > > in base string, while POST while making the request etc).
>
> > > Regards,
> > > Sachin
>
> > > On Sat, May 29, 2010 at 10:40 PM, Carlos Crosetti 
> > > <carlos.crose...@gmail.com
>
> > > > wrote:
> > > > Hi, is been a while to find the proper way to make up the bse string
> > > > for a signed REST request. Consulted the OpenSocial and igoogle
> > > > forums, I added the xoauth_requestor_id and have my requests against
> > > > myspace.com doing fine, buy yet not with orkut.
>
> > > > Plese take a look to my bbae string and URL request to see what could
> > > > be wrong to receive invalid signature from orkut.
>
> > > > Request [http://www.orkut.com/social/rest/people/16219742896227080769/
> > > > @self]
>
> > > > Base String [GET&http%3A%2F%2Fwww.orkut.com%2Fsocial%2Frest%2Fpeople
> > > > %2F16219742896227080769%2F%40self&oauth_consumer_key%3Dorkut.com
> > > > %3A617505393776%26oauth_nonce%3D2768853%26oauth_signature_method
> > > > %3DHMAC-SHA1%26oauth_timestamp%3D1275152272%26oauth_version
> > > > %3D1.0%26xoauth_requestor_id%3D16219742896227080769]
>
> > > > URL Rq [http://www.orkut.com/social/rest/people/16219742896227080769/
> > > > @self?oauth_consumer_key=orkut.com:
> > > > 617505393776&oauth_nonce=2768853&oauth_signature=6LAKtxIyFDgu3Yl2s9B6JB
> > > > %2FZMQM%3D&oauth_signature_method=HMAC-
>
> > > > SHA1&oauth_timestamp=1275152272&oauth_version=1.0&xoauth_requestor_id=16219­742896227080769]
>
> > > > The consumer key is orkut.com:number. In the URL goes as it is while
> > > > in the base string, the colon is encoded as %3A.
>
> > > > 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 opensocial-or...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscrib...@googlegroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/opensocial-orkut?hl=en.- Hide quoted text 
> > > >-
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"orkut Developer Forum" group.
To post to this group, send email to opensocial-or...@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.

Reply via email to