Facebook get friend list issue in Unity

I use Graph API Exploer User Data Permissions check “user_friends” ,

use FQL Query to fill in “/me/friends”, I can get it below:

{“data”:[{“name”:“xxx”,“id”:“750725034949941”}],“paging”:{“next”:“https://graph.facebook.com/v2.2/1569963793218579/friends?limit=25&offset=25& __after_id=enc_AexiIZhvUUA7W93CyCbEKqop8pgwMeZe0FVYg2fNQIrAxRs7nDvv1nuUG_aoKR8JOxUf29FXPlsfg9xVsGgDDToj”},“summary”:{“total_count”:1}}

But I use Unity app to call FB.Login(“user_friends,email,public_actions”,callback);

then call FB.API(“/me/friends”)

I only get the result below:

{“data”:[ ],“summary”:{“total_count”:1}}

How to modify C# code to get friendList detail?

It only shows you the friends that play the game

1 Like

If you want other friends, you have to do invitable friends. This is available to games only, which I assume you are making, and generally has less details about those players. If a facebook user has not authorized your app, you really can’t do much with them.