Hi
Has anyone got GetFriendsList() working with 5.1? I think the call is broken in this plugin version.
Hi
Has anyone got GetFriendsList() working with 5.1? I think the call is broken in this plugin version.
I will do some test and let you know the update. Your patience is appreciated.
We have reported this issue to the team. And as a workaround, you can modify the code from line 6100 to line 6109 in Marketplace\PlayFabSDK\Source\PlayFab\Private\PlayFabClientAPI.cpp to the following code and rebuild the plugin:
if (GetEnumValueToString<EExternalFriendSources>(TEXT("EExternalFriendSources"), request.ExternalPlatformFriends, temp_ExternalPlatformFriends))
{
if(temp_ExternalPlatformFriends!="None")
OutRestJsonObj->SetStringField(TEXT("ExternalPlatformFriends"), temp_ExternalPlatformFriends);
}
if(request.IncludeFacebookFriends)
OutRestJsonObj->SetBoolField(TEXT("IncludeFacebookFriends"), request.IncludeFacebookFriends);
if(request.IncludeSteamFriends)
OutRestJsonObj->SetBoolField(TEXT("IncludeSteamFriends"), request.IncludeSteamFriends);
24 People are following this question.