idSpec 1: user_id = VIEWER group_id = FRIENDS
idSpec 2: user_id = OWNER
newFetchPeopleRequest(idSpec1, {filterType: isFriendsWith,
filterOptions: {idSpec: idSpec2}}
returns all of the viewers friends who are also friends with the owner.
You could also add networkDistance to idSpec1 to get all of the
viewers friends of friends who are also friends with the owner, and so
forth.
As for the list of ids, you used to be able to pass in an array of ids
to newFetchPeopleRequest. now, you just pass in one idSpec and the
userId field on idSpec can be a single id or an array of ids.
I hope that helps somewhat!
- Cassie
We're going to need to document these use cases somewhere..
> 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