FacebookClient facebookClient = new DefaultFacebookClient(MY_ACCESS_TOKEN);
Connection<User> myFriends = facebookClient.fetchConnection("me/friends", User.class);
System.out.println("Count of my friends- " + myFriends.getData().size());
I am unable to get the friends data(name and other fields). It is displaying me count=0. I have given the permission for user_friends also. Infact in Graph API Explorer I tried graphAPI as me/friends It is displaying me
{
"data": [
],
"summary": {
"total_count": 463
}
}
Please help! Thanks in advance