Difference between revisions of "FBInstant.player.getID"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2018.3<br/>
 
'''Available since:''' Gideros 2018.3<br/>
 
=== Description ===
 
=== Description ===
<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 />
+
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">
 
<source lang="lua">
 
(string) = FBInstant.player.getID()
 
(string) = FBInstant.player.getID()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (string) A unique identifier for the player.<br/>
+
'''Returns''' (string) <translate>A unique identifier for the player.</translate><br/>

Revision as of 13:35, 23 August 2018

Available since: Gideros 2018.3

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.

(string) = FBInstant.player.getID()

Return values

Returns (string) A unique identifier for the player.