Fernando,

Looks like you are using the PHP 2legged api. When I was creating the
3legged oauth library for PHP, got this issue several times, and found out
that it was a bug on the library which is implementing the oauth mechanism.

Basically, when you get a white space in a token, it should be replaced by
'+', but for some reason the library was not doing so. And in this case,
when signing using a white space, this error comes up. This explains why you
are getting intermitent errors.

Can you give more information about which lib are you using ? If you are
going to use 3legged, suggest you to use mine:

code.google.com/p/orkut-os-client-php

Best

Robson Dantas
@robsondantas

2011/2/9 Fernando Uchiyama <fernandoserv...@gmail.com>

> You don't need to try too much to reproduce it. If you enter in the 3-
> legged steps requesting the access token like twenty times, maybe 8 of
> them will fail.
> Before each test, remember to clear the storage (I'm using
> osapiFileStorage), so the Orkut library will not use a cached Access
> Token.
>
> On Feb 9, 4:45 pm, Bruno Oliveira <bru...@google.com> wrote:
> > Strange... I'm using the orkut client library and I always get a good
> access
> > token from it. But granted, I've never tried several requests in quick
> > succession to see how many succeed and how many fail. I'll try that and
> see
> > if I get those errors.
>
> --
> 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.
> 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-orkut@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