I guess you first have to get your own oauth parameters by submiting your application xml files here: https://www.google.com/gadgets/directory/verify
But in my case I'm not developing a gadget, I just want to use the REST API, so how could I get oauth parameters? On 18 déc, 23:05, 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 -~----------~----~----~----~------~----~------~--~---

