A code example to grab user“s opensocial ids? :)
On 16 abr, 22:52, Robson Dantas <[email protected]> wrote: > To use 2legged you need to have an installed opensocial app to be able > to request data. > > Don't know as well if it's working properly; need to make some tests. > Will do and posts some details further. > > On your opensocial app you can write some code to grab user's > opensocial ids. For example: request an username and save username + > opensocial id in your database. Inside your rest app, request that > username and grab the id back. > > Make sense? > > Let me know if you have any doubt. > > Robson dantas > > 2010/4/15, lu5ceh <[email protected]>: > > > > > Hi!, > > > I am using PHP-Client library. > > > I am new to opensocial. I trying to run the sample codes provided > > for orkut. > > > $auth = new osapiOAuth2Legged("<consumer key>", "<consumer secret>", > > "<OpenSocial user ID>"); > > > It requires the OpenSocial ID of the user. How do i get this? > > > -- > > 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. > > -- > 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 > 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 [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.

