Phaser API Documentation



Fetches an array of ConnectedPlayer objects containing information about active players (people who played the game in the last 90 days) that are connected to the current player.

It makes an async call to the API, so the result isn't available immediately.

If they are successfully subscribed this plugin will emit the players event along with the player data.

If they cannot, i.e. it's not in the list of supported APIs, or the request was rejected, it will emit a playersfail event instead.


This Facebook Instant Games Plugin instance.

Since: 3.13.0