I am trying to copy the same logic in the Unicorn Battle for Force-Binding a Facebook account to a PlayFab account having already been linked a another Facebook account.
The logic in Unicorn Battle is:
- Try PlayFabClientAPI.LinkFacebookAccount with ForceLink = false
- If the call fails with PlayFabErrorCode.AccountAlreadyLinked, prompt the player and ask whether to Force-Bind the Facebook account to the PlayFab account despite being already linked to another Facebook account.
- If the player says yes, call PlayFabClientAPI.LinkFacebookAccount with ForceLink = true.
Unicorn Battle throws an AccountAlreadyLinked error again, regardless of the value of ForceLink.
Title ID: F50C
I'm under the impression there's a problem with the API because I didn't change the code from GitHub.
Could you please advise?
Thanks