Sachim, you are right, I now URLencoded the signature and my calls to MySpace are still working, however the orkut is still giving me an invalid signature.
I yhink the point now is about the oauth_body_hash or xoauth_requestor_id not being there. You may have access to the signature validation code, while I am not. Can you tell if the oauth_body_hash is a required element in the signature and the url call? On 24 mayo, 13:49, Sachin Shenoy <therealsac...@gmail.com> wrote: > Hi Carlos, > > Having a closer look, You are not escaping the value of oauth_signature. > > The signature param should look like this, > > oauth_signature=hXPtbCo8EI2Gy4iakz6Lhm2%2BiqY%3D > > instead of like this (as you have), > > oauth_signature=hXPtbCo8EI2Gy4iakz6Lhm2+iqY= > > Thanks, > Sachin > > > > On Mon, May 24, 2010 at 2:56 AM, Carlos <carlos.crose...@gmail.com> wrote: > > Sachhn, thanks for asking. The code is now published in > >http://code.google.com/p/opensocial-pharo-client/ > > > I believe you may get more insight looking at the logs... > > the debug points in my code give...(consumer key orkut.com: > > 617505393776) > > > 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%3D7100238%26oauth_signature_method > > %3DHMAC-SHA1%26oauth_timestamp%3D1274649652%26oauth_version%3D1.0] > > > URL Rq [http://www.orkut.com/social/rest/people/16219742896227080769/ > > @self?oauth_consumer_key=orkut.com: > > > 617505393776&oauth_nonce=7100238&oauth_signature=hXPtbCo8EI2Gy4iakz6Lhm2+iqY=&oauth_signature_method=HMAC- > > SHA1&oauth_timestamp=1274649652&oauth_version=1.0] > > > Here is tte reply from orkut: > > > Response [HTTP/1.1 401 OAuth Authentication Failuresignature_invalid > > Content-Type: text/html; charset=UTF-8 > > Date: Sun, 23 May 2010 21:20:54 GMT > > Expires: Sun, 23 May 2010 21:20:54 GMT > > X-Content-Type-Options: nosniff > > X-Frame-Options: SAMEORIGIN > > X-XSS-Protection: 1; mode=block > > Server: GSE > > Cache-Control: private, max-age=0, proxy-revalidate > > Connection: close > > Set-Cookie: S=neworkut_borg=7IpdE_qI6alId-_Ti8b_eg; Path=/; HttpOnly; > > HttpOnly<HTML> > > <HEAD> > > <TITLE>OAuth Authentication Failuresignature_invalid</TITLE> > > </HEAD> > > <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> > > <H1>OAuth Authentication Failuresignature_invalid</H1> > > <H2>Error 401</H2> > > </BODY> > > </HTML> > > ] > > > On 23 mayo, 17:45, Sachin Shenoy <therealsac...@gmail.com> wrote: > > > Hi Carlos, > > > > Can you send me your code snippets, and the exact message that goes on > > the > > > wire? > > > > Thanks, > > > Sachin > > > > On Sat, May 22, 2010 at 9:02 PM, Carlos <carlos.crose...@gmail.com> > > wrote: > > > > I am getting invalid signature with he orkut for the samealgorithm > > > > that is doing fine with myspace.com > > > > > I was stuck with the timestamp issue that now I fixed myself and I > > > > believe I am not sending enough items to the base string input to > > > > signature calculation nor to the URL > > > > > I want to make sute what are the parameters to be included in the > > > > signature because the code I built is aligned and the proof is its > > > > working with mmyspace, so there is something structurally differen > > > > with orkut > > > > > -- > > > > 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-orkut@googlegroups.com > > . > > > > To unsubscribe from this group, send email to > > > > opensocial-orkut+unsubscr...@googlegroups.com<opensocial-orkut%2bunsubscr...@googlegroups.com> > > <opensocial-orkut%2bunsubscr...@googlegroups.com<opensocial-orkut%252bunsubscr...@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<opensocial-orkut%2bunsubscr...@googlegroups.com> > > . > > > 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 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 > 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 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.