I used GetAccountInfo for three different PlayFab accounts (same game title) as follows :
1) created with Username+email+password (no other linked accounts) :
The fields returned (not null) in GetAccountInfoResult are :
- AccountInfo.PlayFabId
- AccountInfo.Username
- AccountInfo.Created
- AccountInfo.TitleInfo.Created
- AccountInfo.TitleInfo.FirstLogin
- AccountInfo.TitleInfo.LastLogin
- AccountInfo.TitleInfo.DisplayName
- AccountInfo.PrivateInfo.Email
2) created with facebook (no other linked accounts) :
- AccountInfo.PlayFabId
- AccountInfo.Username
- AccountInfo.Created
- AccountInfo.TitleInfo.Created
- AccountInfo.TitleInfo.FirstLogin
- AccountInfo.TitleInfo.LastLogin
- AccountInfo.FacebookInfo.FacebookId
No other FacebookInfo fields (Displayname and Username).
3) created with Google (no other linked accounts) :
- AccountInfo.PlayFabId
- AccountInfo.Username
- AccountInfo.Created
- AccountInfo.TitleInfo.Created
- AccountInfo.TitleInfo.LastLogin (default DateTime value : "01/01/0001 00:00:00" !)
No AccountInfo.TitleInfo.FirstLogin and when I added a displayname (it was also automatically set as username, is this on purpose ?), I could only get AccountInfo.TitleInfo.DisplayName. And unlike FacebookInfo, there is no GoogleInfo field although a lot of useful Google info is shown in the GameManager ! I already posted a feature request for this here.
Common missing/null fields :
AccountInfo.TitleInfo.Origination which is available from the GameManager dashboard !
My questions are :
- Is this the normal behavior of GetAccountInfo ?
- Why is the AccountInfo.TitleInfo.Origination always null ?
- When do you plan to remove the AccountInfo.Created and keep only the AccountInfo.TitleInfo.Created as planned here ? Players should be linked to the game title only not to all other PlayFab titles ! Who does need that ?!
- Why does the AccountInfo.FacebookInfo contain only the FacebookId ? it should have more data (available to public API keys) like the Google data gathered with PlayFab
- Why not create separate API calls for different groups of info (GetFacebookInfo, GetGoogleInfo, etc.) ?
PS : the copy/paste in the forum posts is a nightmare (the posts scroll to the top after pasting) and you can't resize the text box area !