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

Reply via email to