I have encountered a possible issue with the facebook link system.
The target Unity app discussed here runs at apps.facebook.com/<appname>;
In the target app, after giving permissions and signing into PlayFab (via facebook) with:
PlayFabClientAPI.LoginWithFacebook
and then manually unlinking the Facebook ID from the Playfab player account, subsequent sign-ins via the same workflow result in a new PlayFab player account as expected, BUT the new account is prefilled with data from the previously unlinked PlayFab account.
Steps to repro:
1. In the target app, sign in via: PlayFabClientAPI.LoginWithFacebook
2. Generate some game data (for example key/value from 'Player Data (Title')
3. Go to that player in the PlayFab console and manually unlink the player's Facebook account
4. Go to facebook and remove the target app from the facebook user's settings, deleting all content.
5. Clear browser cache of any local data
6. Browse the target app again, will need to re-log in to Facebook, end up at Facebook feed.
7. Browse the target app again and re-grant Facebook permissions to the target app.
8. Observe that the workflow results in a new PlayFab account, but one that has been pre-populated with data from the previously linked account.
I would expect that a previously unlinked account would have no reference, and certainly not have it’s data used to populate a band new account.
@Brendan, if you wish to attempt to repro or investigate, I have repeated this behavior with these 5 accounts:
Title ID 7377
C528E85684B9724B
2F8A54BAE9EDA227
3FB7EA52112AEE9F
76C152BF9D757D0C
9C17F587832CC0E
Thanks,
Heath Carlisle