Hi Davi, The code described by you can get only basic information(ID, NAME and THUMBNAIL_URL). We have to specify the PROFILE_DETAILS parameter for retriving another fields of someone's profile.
Regards, Yoichiro On July 11, 10:15 pm, "Davi Sáránszky Mesquita" <[EMAIL PROTECTED]> wrote: > i am using the "Code Runner" Gadget ... and make this code.... it is very > simple and u can get another field on API Reference > > function response(data) { > output("orkut.com:"+data.get("req").getData().getId()); > gadgets.window.adjustHeight(); > > }; > > function request() { > var req = opensocial.newDataRequest(); > req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER), > "req"); > req.send(response); > > }; > > request(); > > On Fri, Jul 11, 2008 at 6:10 AM, prakash <[EMAIL PROTECTED]> wrote: > > > Hello Friend > > > I am trying to access uid using > > viewer.getField(opensocial.Person.Field.PROFILE_URL) > > but i got error. > > . but using getId() i got open social id. please tell me how to find > > uid ?? > > > thanks > > -- > Atenciosamente > > Davi Sáránszky Mesquita > +55-11-81809411 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---