question

Koen avatar image
Koen asked

Why does GetFriendsList return PlayFab users of other Titles?

How is it possible that PlayFab users are returned from other PlayFab Titles in the GetFriendsList call? This really messes with the friends logic.

Also we've been able to login with an existing PlayFab account (linked email from another PlayFab Title) in a new PlayFab Title? We received the "email address already in use" when trying to create a new account for the new title, so we tried to login with the usual credentials and we could login. This email address has not been added to any user in the new title (still in development so 100% sure). How does this system work internally?

apisFriends
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

·
brendan avatar image
brendan answered

The main thing to understand is that the player account lives at the Publisher ID level, not the title level (all titles in a studio share the same Publisher ID, by default). So a player who signs into multiple games in the same studio is signing into the same account, just with different title-specific data for each (player data, stats, inventory, etc.).

The internal PlayFab friends list (as opposed to the Facebook or Steam friends you can also view) is at the account level as well, meaning that it returns all friends that have been associated with the player in all games with the same Publisher ID. One way to manage the details on friends (in terms of games played) would be to use the friend leaderboard system, in conjunction with the friends list. We'll also be providing more functionality for friends in a future update, including being able to request profile data.

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.