FBInstant.updateAsync
From GiderosMobile
Available since: Gideros 2018.3
Description
Informs Facebook of an update that occurred in the game. This will temporarily yield control to Facebook and Facebook will decide what to do based on what the update is. The returned promise will resolve/reject when Facebook returns control to the game.
FBInstant.updateAsync(payload,callback)
'payload: (table) A payload that describes the update. '
'callback: (function) A function that will be called with two arguments: True when Facebook gives control back to the game or nil if the operation failed, and an error code if the function failed. '