Hello All,
The newFetchPersonAppData() call does not support paging when parameters VIEWER_FRIENDS and OWNER_FRIENDS used. For users with large number of friends it would result in potentially very expensive calls.
Current method:
newFetchPersonAppDataRequest(idSpec, keys)
Proposed:
newFetchPersonAppDataRequest(idSpec, keys, opt_params)
where opt_params are:
Map<opensocial.DataRequest.PeopleRequestFields.FIRST, opensocial.DataRequest.PeopleRequestFields.MAX>
Regards,
Oleg Pylnev
Myspace.com
Sorting should be done by user Id.
Max = number of users per each request
Top friends can be an option, but as an explicit parameter. Same for passing in list of user Ids.
As for ‘fetch quotas’: They do make sense even if not enforced by some containers. The quotas may also prevent JS code errors like infinite loops
-Oleg
Alternatively one could use FetchPeople to grab a list of IDs and pass
that into a fetch for data, however that has latency downsides.
> You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
> To post to this group, send email to opensocial-an...@googlegroups.com
> To unsubscribe from this group, send email to opensocial-and-gadg...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
--
Paul Lindner ||||| | | | | | | | | |
lin...@inuus.com