I am trying to retrieve a list of friends, but ONLY the ones who has
my gadget, and I am having trouble with that.

Here follows the part of my code:
   var req = opensocial.newDataRequest();
 
req.add(req.newFetchPeopleRequest(opensocial.DataRequest.PersonId.VIEWER),
'viewer');
 
req.add(req.newFetchPeopleRequest(opensocial.DataRequest.Group.VIEWER_FRIENDS,
{[opensocial.DataRequest.PeopleRequestFields.FILTER],
[opensocial.DataRequest.FilterType.HAS_APP]}), 'viewerFriends');
   req.send(handleFunction);

Does anyone know what is the problem?

Thanks in advance.
Pedro Boschi


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Developers" 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