*Edit* Somehow this posted with no text! Apologies! Original text:
So I'm really confused as to how the flow should go for the following actions, considering the way that different API calls are in different namespaces in the SDK, and require different entity types and authentication.
Basically, my game does the following:
Guys, what the heck is with the 5 different EntityKeys, groups using title, shared data using playfabId, and none of it working together!?
Shared Group feature and Group feature are two different stand-alone systems and the current Entity Group feature is comparatively new, which is under the Entity system.
Entity Group will work closely with the Entity Key, for example, when you call API to list members, they will all be listed in the form of entity keys. Meanwhile Shared Group makes no references to Entity key.
Both Entity key and PlayFab ID are returned in the callback result of login API, it won't be nessary if you only need a key. If you are about to use both systems, the profile model you store in the clients may contain all the required information.
GetProfiles() takes which Entity - master_player_account or title_player_account?
Do I need to pass the EntityToken into GetProfiles() to get all members of a EntityGroup? I am only seeing myself.
Is there something I need to do to my policy to allow to see DisplayName? I don't even get my OWN DisplayName back from GetProfiles() on my EntityGroup.
Getting somewhere:
{ "Resource": "pfrn:data--*!*/Profile/AvatarUrl/*", "Action": "Read", "Effect": "Allow", "Principal": "*", "Comment": "Allow everyone to see AvatarUrl" }, { "Resource": "pfrn:data--*!*/Profile/DisplayName/*", "Action": "Read", "Effect": "Allow", "Principal": "*", "Comment": "Allow everyone to see DisplayName" }
And now, I get all three profiles returned with AvatarUrl. Getting so close!
However, I need DisplayName! What am I doing wrong? @SethDu. @Brian Jensen didn't you deal with this?
I can manage ALL later API calls at 4 per sec, once I get Profiles to load 25 at a time, because I can do the API call to load other data upon clicking a player's icon or their name.
In a group with 1000 members I can't load displaynames/avatars one at a time with GetProfile!
Thanks for your feedback. I have confirmed with the team, DisplayName not showing can be a bug and I will file it.
However, it seems Policy is not related, because even without configuring policy, I am able to retrieve avatar url.
As of right now DisplayName although it is said that it gets it. Sadly does not. This is a known issue with no date known for fixing. I was told to just wait. I've stopped using PlayFab altogether for Groups and use it only for logging in and providing authentication.
5 People are following this question.