Hi Sergio below code would get you all friends who have application
in the request function var app_friend_params = {}; app_friend_params[opensocial.DataRequest.PeopleRequestFields.FILTER] = opensocial.DataRequest.FilterType.HAS_APP req.add(req.newFetchPeopleRequest(opensocial.newIdSpec({"userId" : "OWNER", "groupId" : "FRIENDS"}), app_friend_params), "ownerFriends"); in response function var ownerFriends = data.get('ownerFriends').getData(); ownerFriends.each ( function(friend) { friends_array.push(friend.getId()); } ); friends_array_length=friends_array.length; here in ownerFriends you have all the friends of owner who have added the application -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.