Code looks good to me, sounds like it's a myspace issue, in which case this would be the best place to ask:
http://developer.myspace.com/Community/forums/23.aspx Goodluck! On Tue, Sep 22, 2009 at 3:59 AM, nimish <m.nim...@gmail.com> wrote: > > I want to extract online friends for a user and I am using following > code for that > > var req = opensocial.newDataRequest(); > var viewerFriends = opensocial.newIdSpec({ "userId" : "VIEWER", > "groupId" : "FRIENDS" }); > var opt_params = {}; > opt_params[opensocial.DataRequest.PeopleRequestFields.FILTER ] = > opensocial.DataRequest.FilterType.ONLINE_FRIENDS; > req.add(req.newFetchPeopleRequest(viewerFriends, opt_params), > 'viewerFriends'); > req.send(onLoadFriends); > > But, its extracting all the top friends and not online friends. I am > doing anything wrong? > > Thanks, > Nimish > > > --~--~---------~--~----~------------~-------~--~----~ 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 opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---