Hi Everyone,

I try to use the method "Object  newFetchPeopleRequest(idSpec,
opt_params)".

According to the definition (http://code.google.com/apis/opensocial/
docs/javascript-0.6/reference/
opensocial.DataRequest.html#newFetchPeopleRequest)
, this method can get an array of IDs as parameters :
>   Parameters:
>     Array.<String>, String idSpec -
>     An ID, array of IDs, or a group reference used to specify which people to 
> fetch

But the code below doesn't work.
   var req = opensocial.newDataRequest();
   var opt_params = { };
 opt_params
[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS] = [
          opensocial.Person.Field.PROFILE_URL
        ];
   req.add(req.newFetchPersonRequest(  new
Array("12639470830522105650", "10411332468384565801", ...),
opt_params), "viewer");
   req.send(response);

The IDs are existing ones.

Please give me some advices...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Discussion" 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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to