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