Difference between revisions of "Facebook:extendAccessTokenIfNeeded"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2012.09<br/>
 
'''Available since:''' Gideros 2012.09<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><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 />
+
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 />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Facebook:extendAccessTokenIfNeeded()
 
  Facebook:extendAccessTokenIfNeeded()
 
</source>
 
</source>

Revision as of 14:34, 23 August 2018

Available since: Gideros 2012.09

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