question

oleksiimykhniak avatar image
oleksiimykhniak asked

How delete player account?

At our app, we have 2 way to link PlayFab account to Facebook, when the app was opened for the first time and in settings at any time.

So we can have the next situation:

1) a user has been playing our game some time with Facebook

2) the user has removed our app

3) the user has reinstalled the game and played as a guest

4) the user has remembered that he/she had had progress in our app and logged in facebook (we relink new user id to old Facebook profile on PlayFab)

So can user remove this new guest account, when PlayFab has returned old Facebook account?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Hernando avatar image
Hernando answered

Since DeletePlayer API is not included in Client collection, the client can't call the API to delete the Player, but you can call Server.DeletePlayer in CloudScript to do it.

Another thing to note is player deletion is not an instant action. A player consists of many things: stats, inventory, VC, characters, etc, and customData for all of the above. It takes a while to clean it all up.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.