Phaser API Documentation

  Version: 
getPlayerID()

Description:

Returns the id of the player. This is a string based ID, the same as FBInstant.player.getID(). It is only populated if playerGetID is in the list of supported APIs.

Returns:
Description:

The player ID.

Type:
  • string
Since: 3.13.0