question

Dmitrii Osipov avatar image
Dmitrii Osipov asked

GetPlayerCombinedInfo returns null in AccountInfo's FacebookInfo

GetPlayerCombinedInfo() => result.InfoResultPayload.AccountInfo.FacebookInfo is null but

GetUserCombinedInfo() => result.AccountInfo.FacebookInfo contains data for linked accounts

Authentication
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

When you query for your own PlayFab ID (by not specifying that in a call to either), all data is returned. The GetPlayerCombinedInfo API call has a bug where it's not checking that the PlayFab ID specified is your own, if you include a specific PlayFab ID. We'll have that fixed shortly, but in the meantime all you need to do is leave the PlayFab ID out of the call.

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.

Dmitrii Osipov avatar image Dmitrii Osipov commented ·

but i need to get other users facebook info to draw it in UI with name and avatar

0 Likes 0 ·
brendan avatar image brendan Dmitrii Osipov commented ·

I would have to recommend querying that info via Cloud Script at the moment, then. We don't expose certain information to other users by default, due to privacy concerns.

0 Likes 0 ·
Dmitrii Osipov avatar image Dmitrii Osipov brendan commented ·

that's sad but

0 Likes 0 ·
ok-mem.png (81.8 KiB)
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.