FBInstant.player.getSignedPlayerInfoAsync

From GiderosMobile
Revision as of 10:20, 23 August 2018 by Hgy29 (talk | contribs)

Available since: Gideros 2018.3

Description


Fetch the player's unique identifier along with a signature that verifies that the identifier indeed comes from Facebook without being tampered with.

 FBInstant.player.getSignedPlayerInfoAsync(requestPayload,callback)

'requestPayload: (string) A developer-specified payload to include in the signed response. '
'callback: (function) A function that will be called with two arguments: a SignedPlayerInfo object or nil is the operation failed, and an error code if the function failed. '