Reputation: 19
FB.api('/me', function(response) {
FB.api(response.id+'/friends', function(response) {
for (var i=0; i < response.data.length; i++) {
FB.api('/'+response.data[i].id, function(response) {
{
}
});
}
});
});
not able to get any list response.data[i].id the length is zero
Upvotes: 0
Views: 49
Reputation: 31479
The call to /me/friends
will only return the friends which are also using your app, not all friends.
See
Upvotes: 1