Difference between revisions of "Facebook:extendAccessTokenIfNeeded"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Attempts to extend the access token. The access token expires after a certain amount of time a...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.09<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
<br />
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/Facebook|Facebook]]<br/>
Attempts to extend the access token. The access token expires after a certain amount of time and when you call this method it will be refreshed if it is still active and only after some time has passed since the last refresh. To ensure that you keep the access token fresh for active users, call this method in your `Application.RESUME` event.<br />
+
=== <translate>Description</translate> ===
<br />
+
<translate><br />
<source lang="lua">
+
Attempts to extend the access token. The access token expires after a certain amount of time and when you call this method it will be refreshed if it is still active and only after some time has passed since the last refresh. To ensure that you keep the access token fresh for active users, call this method in your ''Application.RESUME'' event.<br />
= Facebook:extendAccessTokenIfNeeded()
+
<br /></translate>
</source>
+
<syntaxhighlight lang="lua">
 +
Facebook:extendAccessTokenIfNeeded()
 +
</syntaxhighlight>

Latest revision as of 14:29, 13 July 2023


Available since: Gideros 2012.09
Class: Facebook

Description


Attempts to extend the access token. The access token expires after a certain amount of time and when you call this method it will be refreshed if it is still active and only after some time has passed since the last refresh. To ensure that you keep the access token fresh for active users, call this method in your Application.RESUME event.

 Facebook:extendAccessTokenIfNeeded()