I am trying to figure out how can i switch to a specific ContextID when the user clicks on a button. For example I have a list of already started games and when the user clicks on the specific game I want to continue playing that game. In Facebook Documentation I can see that you can call the following which will switch the user to the specified context_id:
FBInstant.context.switchAsync(context_id)
.then(function() {
// We have switched into a previously created context
}).catch(function(error) {
// Some error occurred
});
I don't know how to do this with Construct 3.
Thanks,
Savvas