Difference between revisions of "FBInstant.context.getPlayersAsync"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Gets an table of #contextplayer tables containing information about active players (people who...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= FBInstant.context.getPlayersAsync(callback,)
+
FBInstant.context.getPlayersAsync(callback)
 
</source>
 
</source>
'''callback:''' (function) A function that will be called with two arguments: a set of key-value pairs or nil is the operation failed, and an error code if the function failed. ''''''<br/>
+
'''callback''': (function) A function that will be called with two arguments: a set of key-value pairs or nil is the operation failed, and an error code if the function failed. ''''''<br/>

Revision as of 11:17, 23 August 2018

Available since: Gideros 2018.3

Description


Gets an table of #contextplayer tables containing information about active players (people who played the game in the last 90 days) that are associated with the current context. This may include the current player.

 FBInstant.context.getPlayersAsync(callback)

'callback: (function) A function that will be called with two arguments: a set of key-value pairs or nil is the operation failed, and an error code if the function failed. '