Found out the issue, don't ask me why, but the "UID" that is part of
hte url isn't really the user id... you have to use javascript to get
the user's id, then once you have that you can go ahead and make all
the rest calls you want.

Nick

On Dec 18, 2:05 pm, Nick <[email protected]> wrote:
> Based 
> onhttp://code.google.com/apis/orkut/docs/rest/developers_guide_protocol...,
> the REST server->server api is implemented and working.  I was also
> able to create a working example with a "test" userid, consumer_key,
> and consumer_secret that I found on the web.  They are as follows:
> userID = '03067092798963641994';
> key = 'orkut.com:623061448914';
> secret = 'uynAeXiWTisflWX99KU1D2q5';
>
> If I plug those values into my PHP page, I'm able to send an
> authenticated request using OAuth, and get the profile information of
> that user.  If I substitute my userid: 7561918350428844505, and key/
> secret, I get an error:
> hasUserId failed
> Error 500
>
> Clearly, that is my 
> userID:http://sandbox.orkut.com/Main#Profile.aspx?uid=7561918350428844505
> Although things get a bit fishy when I try to visit the userID of the
> one that worked, orkut claims it is not a valid 
> user:http://sandbox.orkut.com/Main#Profile.aspx?uid=03067092798963641994
>
> Anyone have an idea of what's going on here?  Is my userID I'm using
> wrong, if so, how do I get the one I should be using?
>
> Thanks for the help,
> Nick

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