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.
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.
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.
Hi, maybe this will help some others, who needs to deal with this. It helped me: https://www.youtube.com/channel/UC2-tEpkeTgnRcDK19f2EmGQ
3 People are following this question.