Sachim, got instaled the HTTPDebuggerPro to see what the network line record is, I got
GET /social/rest/people/16219742896227080769/@self? oauth_consumer_key=orkut.com: 617505393776&oauth_nonce=2999653&oauth_signature=CXWy76rUkGKmWPI126JRkKWGKtY %3D&oauth_signature_method=HMAC- SHA1&oauth_timestamp=1275235898&oauth_version=1.0&xoauth_requestor_id=16219742896227080769 HTTP/1.0 ACCEPT: application/octet-stream ACCEPT: text/html User-Agent: Pharo0.1-10343 Host: www.orkut.com:80 The signature ends with = encoded as %3D, is that OK? 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=16219742896227080769] > > > > 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%2bunsubscr...@googlegroups.com> > > > . > > > 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 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.