Is there a way to know the online/offline status of a friend? Is there any api that can be used for this or if not, please provide an alternate solution.
Answer by Ivan Cai · Jun 08, 2021 at 01:26 AM
Playfab is a Web API-style and stateless service, we don’t have a mechanism to check if the player is online(there's also no Logout API call, for instance). You can see when the player last signed in by checking the LastLogin property of TitleInfo, and you may need to implement a mechanism to set and change the value of the UserData(key: LastUpdated) at regular intervals when the player is playing to help check the player’s “login” status more accurately. For more details, please refer to this thread.
Answer by Mark Nagy · Feb 26 at 08:36 AM
Hi, maybe this will help some others, who needs to deal with this. It helped me: https://www.youtube.com/channel/UC2-tEpkeTgnRcDK19f2EmGQ
How to get the value from a variable present in the Cloud Script ? 0 Answers
AddFriend on the Server has no return value, but it has on the Client 1 Answer
Feature solutions 1 Answer
Inviting player to party PlayFabParty/SharedGroups - 2021 1 Answer
Is it possible to Send/Accept Friend Requests (XBOX, Steam, PS4) all within an IOS App? 1 Answer