question

Sai Teja avatar image
Sai Teja asked

Is it possible to fetch player profile with display name?

For group invitations we need to have entity id. Is there any way we can enter the user name and group invitation will send to that user.

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

·
Sarah Zhang avatar image
Sarah Zhang answered

Do you mean you want to retrieve the player’s Entity ID through its Display Name? The client can pass the TitleDisplayName to this Client API GetAccountInfo to retrieve the specific player’s TitlePlayerAccount. The ID of the TitlePlayerAccount is the player’s Entity ID. Then you can call the API InviteToGroup to invite the player. Besides, PlayFab won’t send the invitation to the player. The player who is invited needs to call the API ListMembershipOpportunities to list its invitations, then call API AcceptGroupInvitation to accept the invitation.

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.