I’m try to build two test user already be the friend and login App.
My login function
FB.LogInWithReadPermissions(new List() { “public_profile”, “email”, “user_friends” }, this.EventHandleLogin);
my get friend funcion
FB.API(“/me/friends”, HttpMethod.GET, FriendCallBack);
`public void FriendCallBack(IGraphResult result)
{
IDictionary<string, object> data = result.ResultDictionary;
List<object> friends = (List<object>)data["data"];
Debug.LogError("New Friend Back:" + friends.Count);
foreach (object obj in friends)
{
Dictionary<string, object> dictio = (Dictionary<string, object>)obj;
Debug.LogError(dictio["name"]+","+dictio["id"]);
}
}`