FBInstant.player.getID: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 6: Line 6:
<translate><br />
<translate><br />
A unique identifier for the player. A Facebook user's player ID will remain constant, and is scoped to a specific game. This means that different games will have different player IDs for the same user.<br /></translate>
A unique identifier for the player. A Facebook user's player ID will remain constant, and is scoped to a specific game. This means that different games will have different player IDs for the same user.<br /></translate>
<source lang="lua">
<syntaxhighlight lang="lua">
(string) = FBInstant.player.getID()
(string) = FBInstant.player.getID()
</source>
</source>

Revision as of 13:28, 13 July 2023


Available since: Gideros 2018.3
Class: Player

Description


A unique identifier for the player. A Facebook user's player ID will remain constant, and is scoped to a specific game. This means that different games will have different player IDs for the same user.
<syntaxhighlight lang="lua"> (string) = FBInstant.player.getID() </source>

Return values

Returns (string) A unique identifier for the player.