Hello there,

I'm working on a friendster application and encounter a problem with
the following friend paging code. I have already set the MAX = 5, but
the following code will return a total of 15 Friends.


var params = {};
params[opensocial.DataRequest.PeopleRequestFields.MAX] = 5;
params[opensocial.DataRequest.PeopleRequestFields.FIRST] = 10;

req.add(req.newFetchPeopleRequest(opensocial.DataRequest.Group.OWNER_FRIENDS,
params), "viewerFriends");


Is there something wrong with my code?

And also, is there anyway to get the total number of owner friends
without the above code to retireve all details of the owner friends.

Thanks fr your help
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to