In the documentation it says that "FacebookInfo" should only be present if "Available Facebook information (if the user and PlayFab friend are also connected in Facebook)."
but in my code:
var request = new GetFriendsListRequest()
{
IncludeFacebookFriends = true,
ProfileConstraints = new PlayerProfileViewConstraints()
{
ShowAvatarUrl = true,
ShowDisplayName = true,
ShowStatistics = true,
ShowLinkedAccounts = true,
}
};
PlayFabClientAPI.GetFriendsList(
request,
result =>
{
foreach (var friend in result.Friends)
friend.FacebookInfo;
}, OnError);
FacebookInfo is always available for users that linked their accounts even if they aren't friends with my account or if I didn't even link my account to Facebook.
After going through the documentation I believe checking for this info is the only way for me to detect if this friend is one that was auto added from Facebook.
So is this a bug or is there any other way to check if a friend is manually added or included for Facebook friends