Hello Shishir/Jason, How can i get my gadget users Viewer ID or any stranger viewer ID to get there profile data?
In orkut,hi5,myspace..etc. I want to display there and there friends profile in my own website by just giving there viewer ID or some other inputs from them..or using the gadget registration? which way is it possible? Thanks On May 12, 9:05 am, Shishir <birmi...@gmail.com> wrote: > It looks like you're making a 2-legged-oauth call. In a 2-legged > oauth, you need to specify the id of the viewer for whom/on behalf of > whom you want to access the data. Hence the viewer-id. > > Cheers, > Shishir > > On May 6, 6:15 pm, nsdh <n.devipras...@gmail.com> wrote: > > > Is it possible for me to know my VIEWER_ID? to list my friends. I > > have seen in the sample it was hardcoded, how can i get it? > > > c.setProperty(OpenSocialClient.Property.CONSUMER_SECRET, > > "uynAeXiWTisflWX99KU1D2q5"); > > c.setProperty(OpenSocialClient.Property.CONSUMER_KEY, > > "orkut.com:623061448914"); > > c.setProperty(OpenSocialClient.Property.VIEWER_ID, > > "03067092798963641994"); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---