Attempts to create or switch into a context between a specified player and the current player.
This plugin will emit the create
event once the context switch is completed.
If the API call fails, such as if the player listed is not a Connected Player of the current player or if the
player does not provide permission to enter the new context, then the plugin will emit a 'createfail' event.
name | type | description |
---|---|---|
playerID | string |
ID of the player. |
This Facebook Instant Games Plugin instance.