question

glaws avatar image
glaws asked

Getting a friends title_player_account ID (Player ID (title))

Hi,

I'm trying to set up a group with two players as members, however I need the second players Title Player ID, I only have the Master Player ID that's retrieved with the friends list. I've spent hours trying to find a way to retrieve it with no obvious solution, can you point me in the right direction?

Thanks,

Graeme.

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

·
pfnathan avatar image
pfnathan answered

We are working on an update to add something like title_player_account to the player lookup API. We will post an update once work completes, it will be part of this; https://api.playfab.com/documentation/client/method/GetAccountInfo

4 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.

glaws avatar image glaws commented ·

OK, that will be helpful. Is there currently no way to use InviteToGroup without having the title_player_account ID? or am I missing something here?

0 Likes 0 ·
pfnathan avatar image pfnathan ♦ glaws commented ·

At the moment no, we will make sure that you will get a notice , once update gets in the place.

0 Likes 0 ·
pfnathan avatar image pfnathan ♦ pfnathan ♦ commented ·

Updated:

"How to get title_player_account from PlayFabID," you now can do that. It's part of the data in:

https://api.playfab.com/documentation/client/method/GetAccountInfo

https://api.playfab.com/documentation/client/method/GetPlayerCombinedInfo

https://api.playfab.com/documentation/server/method/GetUserAccountInfo

https://api.playfab.com/documentation/admin/method/GetUserAccountInfo

The EntityKey is under TitleInfo as the TitlePlayerAccount property and can be passed directly into entity methods since it's an EntityKey. This of course needs the latest SDK

0 Likes 0 ·
Show more comments

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.