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