question

Ruslan Khuduev avatar image
Ruslan Khuduev asked

The risks of sharing PlayFab IDs (vs Generic IDs)

Should a player hide their PlayFab ID from other players? I'm considering implementing a feature in my game that allows adding friends via ID. However, I'm unsure if this should be the PlayFab ID. Would it be better to generate a random ID consisting of letters and numbers, 8 characters in length, and set it as a Generic ID? This would be similar to the Player Tag in Brawl Stars.

After all, the PlayFab ID is a unique player identification method. This ID can be used to request various information about the account. Players often post their ID on twitter, discord, etc. Or does it not matter?

Player DataAuthentication
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

·
Xiao Zha avatar image
Xiao Zha answered

Generally, it's okay to share your PlayFab Id out. Because players can only use other players' PlayFab IDs to request some insignificant information from other players' accounts.

And PlayFab provides the Add Friend API (https://learn.microsoft.com/en-us/rest/api/playfab/client/friend-list-management/add-friend?view=playfab-rest ) for you to use other player’s PlayFab Id to add them as friends. Also, you could refer to https://learn.microsoft.com/en-us/gaming/playfab/features/social/friends/quickstart to have more information about PlayFab Friends feature.

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.