Ronald Schouten
unread,Nov 27, 2009, 4:30:11 AM11/27/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to opensocial-client-libraries
I am unable to retrieve friends with the app installed on Hi5. My code
looks like this:
params = new HashMap<String, OpenSocialRequestParameter>();
params.put("startIndex", new OpenSocialRequestParameter("0"));
params.put("count", new OpenSocialRequestParameter("100"));
params.put("filterBy", new OpenSocialRequestParameter("hasApp"));
friends = client.fetchFriends(Long.toString(userId), params);
When I remove the filterBy param it returns all friends as expected,
but keeping it in returns null (although I know I have 1 friend that
is successfully retrieved through the JS API). Has anyone successfully
been able to retrieve friends with the app installed on Hi5? If so,
what are the correct parameters to pass in?
Thanks