Hi prakash,
In orkut, you can't get PROFILE_URL without using PROFILE_DETAILS. You
should pass the parameter of the PROFILE_DETAILS to newFetchPerson/
PeopleRequest() function.
var req = opensocial.newDataRequest();
var params = {};
params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
[opensocial.Person.Field.PROFILE_URL];
req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER,
params), "viewer");
Best regards,
Yoichiro
On July 11, 6:10 pm, 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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---