Hi Yoichiro. Great catch! This example should be corrected very soon.

Thanks for the report.

Cheers!
- Jason

On Jul 15, 8:47 pm, yoichiro <[EMAIL PROTECTED]> wrote:
> Hi Jason,
>
> I seem that the sample code for getting a user's orkut UID in
> following url is incorrect. We will catch an error as running it,
> because this code is not specify a PROFILE_DETAILS parameter for
> calling newFetchPersonRequest() function.
>
> http://code.google.com/apis/orkut/docs/orkutdevguide.html#ops_uid
>
> For getting the PROFILE_URL value, someone should correct the
> request() function in the sample code as follows:
>
> function request() {
>   var req=opensocial.newDataRequest();
>   var params = {};
>   params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] =
> [opensocial.Person.Field.PROFILE_URL];
>   req.add(req.newFetchPersonRequest("VIEWER", params), "viewer");
>   req.send(response);
>
> };
>
> Can Jason do this correction?
>
> Best regards,
> Yoichiro
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to