FBInstant.player.getSignedPlayerInfoAsync

From GiderosMobile
Revision as of 10:04, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> Fetch the player's unique identifier along with a signature that verifies that the identifier i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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(requestPayloadcallback,)

'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. '