Hi Mani! Yes, I've found a solution. Basically you should make a request and check each user to make the filter. It's not the best approach, but solved my problem.
As I wrote... I've found a solution, fetching group data, iterating and filtering . req.add(req.newFetchPersonAppDataRequest('OWNER_FRIENDS', ['AppConfig']), 'data') I dont know if it's the best approach, but solved my problem. Reference: http://opensocial-resources.googlecode.com/svn/wiki/WoShamBoDocumentation.wiki --Robson 2008/9/30 mani <[EMAIL PROTECTED]> > > Did u find the solution for this? Please let me know. > > > On Sep 16, 8:24 am, [EMAIL PROTECTED] wrote: > > Looks like you found an answer, but if this is something you'd like > > the API to support, please post a thread requesting it in the > > OpenSocial specification discussion list: > http://groups.google.com/group/opensocial-and-gadgets-spec/topics > > > > Thanks, > > ~Arne > > > > On Sep 15, 10:30 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > wrote: > > > > > I've found a solution, fetching group data, iterating and filtering . > > > > > req.add(req.newFetchPersonAppDataRequest('OWNER_FRIENDS', > > > ['AppConfig']), 'data') > > > > > I dont know if it's the best approach, but solved my problem. > > > > > Reference: > http://opensocial-resources.googlecode.com/svn/wiki/WoShamBoDocumenta... > > > > > Cheers, > > > > > --Robson > > > > > On 15 set, 14:02, Robson <[EMAIL PROTECTED]> wrote: > > > > > > Hi Guys! > > > > > > I'm in a trouble here, and would be pleased if someone can help me. > > > > > > I'd like to filter friends (OWNER_FRIENDS), who has the application > > > > installed (HAS_APP), using the key "place" that I've saved before. > > > > When the user setup the application, I use persistent data to store > > > > the app configuration, something like: > > > > > > var place="Montreal"; > > > > var req = opensocial.newDataRequest(); > > > > > req.add(req.newUpdatePersonAppDataRequest(opensocial.DataRequest.PersonId.VIEWER, > > > > 'place', place)); > > > > req.send(); > > > > > > Now, I can filter the owner_friends with application, but i dont know > > > > how to filter users with place = "Montreal". > > > > > > Example: > > > > > > opt_params[opensocial.DataRequest.PeopleRequestFields.FILTER] = > > > > opensocial.DataRequest.FilterType.HAS_APP; > > > > > req.add(req.newFetchPeopleRequest(opensocial.DataRequest.Group.OWNER_FRIENDS,opt_params), > > > > 'viewerFriends'); > > > > req.send(loadFriends); > > > > > > How can i do that ? > > > > > > Thanks, > > > > > > --Robson > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---