Hi,
You need to add 5 fetchPersonRequest to DataRequest.add() like this

var req=opensocial.newDataRequest();
req.add(req.newFetchPersonRequest("19023323"),"user1");
req.add(req.newFetchPersonRequest("19023324"),"user2");
req.add(req.newFetchPersonRequest("19023325"),"user3");
req.add(req.newFetchPersonRequest("19023326"),"user4");
req.add(req.newFetchPersonRequest("19023327"),"user5");
req.send(function(response){
  var responseUser1=response.get("user1").getData();
  var responseUser2=response.get("user2").getData();
  var responseUser3=response.get("user3").getData();
  var responseUser4=response.get("user4").getData();
  var responseUser5=response.get("user5").getData();
});


Thanks,
Rohit
Google Developer Programs

Meet OpenSocial developers
irc://irc.freenode.net/opensocial

On Fri, Jun 13, 2008 at 11:42 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> I want to fatch deails of say 5 selected users form orkut in a single
> request.how it is possible
> >
>

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