Hi, i'm getting the same problem. I already tried this two methods, like Prakash said getId only give the app id.
I tried get the url and cut it, but still returning nothing. I let my test app here -> http://comandolinux.com.br/comlinuxgd.xml There are some strange things, but is because I'm trying ways to get the data. The target file is just a var_dump($_GET) that I let to see what's happening. I almost sure that I'm making something wrong when I call the parameter... Tnks guys. On Jul 12, 12:43 pm, yoichiro <[EMAIL PROTECTED]> wrote: > 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 [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-api?hl=en -~----------~----~----~----~------~----~------~--~---
