question

analytics avatar image
analytics asked

Server GetUserAccountInfo with FriendTitleDisplayName

Hello,

Are there any short-term plans to enable use of FriendTitleDisplayName param while calling Server.GetUserAccountInfo ?

Thanks.

apis
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

Can you describe the scenario in more detail? What would the situation be in which the server has a Title Display Name, but does not have access to the PlayFab ID already? If it's a Title Display Name sent up by the client, why would the client not simply send the PlayFab ID?

2 comments
10 |1200

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

analytics avatar image analytics commented ·

The scenario is as follows:

1. We generate a Friend Id for a user. (Which is ddd-ddd format)

2. This friend id is set as Display Name for the user.

3. Other players can add others as friends using this shared friend ID. (they share this id via forums, social platforms etc.)

4. Since we need to set other data while adding someone as a friend (using CloudScript) and the CloudScript function receives only the display name, we need some way to map Display Name -> PlayFab ID.

Hope the scenarios is clear.

Edit: Currently in order to support this, we call "GetAccountInfo" from the client to learn PlayFabId.

0 Likes 0 ·
brendan avatar image brendan ♦♦ analytics commented ·

Thanks, using GetAccountInfo from the Client was going to be my suggestion. I'll add a backlog item for being able to look up accounts by Title Display Name, but it does sound like you have a working solution for this at the moment.

0 Likes 0 ·

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.