FBInstant.createShortcutAsync: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3.1<br/> === Description === <br /> Prompts the user to create a shortcut to the game if they are eligible to Can only be called..." |
No edit summary |
||
| Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
FBInstant.createShortcutAsync(callback) | |||
</source> | </source> | ||
'''callback | '''callback''': (function) A function that will be called with two arguments: Will return false if createShortcutAsync was already called this session or the user is ineligible for shortcut creation and an error code if the function failed. ''''''<br/> | ||
Revision as of 09:16, 23 August 2018
Available since: Gideros 2018.3.1
Description
Prompts the user to create a shortcut to the game if they are eligible to Can only be called once per session.
FBInstant.createShortcutAsync(callback)
'callback: (function) A function that will be called with two arguments: Will return false if createShortcutAsync was already called this session or the user is ineligible for shortcut creation and an error code if the function failed. '