question

nellykey avatar image
nellykey asked

Find playfab account by CustomID

Hi, I want to find account by CustomID.

How can I do it?

Example:

I have account with PlayFabID 3762E5C1AB83B891

It has linked account Custom 1450164895095191

Game ID: 108C

I use this code:

var request = { PlayFabId: "REQUESTED_ID" } PlayFabClientSDK.GetPlayerProfile(request, function(response){console.log(response)});

So when I set PlayfabID ("3762E5C1AB83B891") in this request I got correct result.

But when I place custom id in this request (var request = { PlayFabId: "1450164895095191" })

I got 400 (Bad Request) error.

How can I find playfab account (or at least PlayFabID) using CustomID?

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

Please note that you cannot look up by Custom ID because that is a login credential. No one should have the Custom ID other than the user it belongs to since it can be used to sign into the game.

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.