I want to send a message to the facebook messenger when the user leaves the game. couldn't find the correct guideline, how to do it. i need help
I want to send a message to the facebook messenger when the user leaves the game. couldn't find the correct guideline, how to do it. i need help
Greetings,
Would you be able to provide more information on what actions would qualify as the user leaving the game? Would this mean that the user is closing the application? Or signing out of their account?
This clarification will determine how the desired behavior can be implemented.
Unfortunately, PlayFab doesn't provide an API to communicate with Facebook messenger, you can make a Feature Request for Facebook Messenger integration.
But PlayFab does provide an event called client_focus_change, it is possible to create a rule that Executes a Cloudscript that makes an POST request to Facebook's Messenging API . This forum post contains an example POST request in Cloudscript.
2 People are following this question.