Difference between revisions of "Facebook:isSessionValid"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
Checks if the access token is available and has not expired.<br />
 
Checks if the access token is available and has not expired.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(bool) = Facebook:isSessionValid()
 
(bool) = Facebook:isSessionValid()
 
</source>
 
</source>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if the access token is valid, ''false'' otherwise.</translate><br/>
 
'''<translate>Returns</translate>''' (bool) <translate>''true'' if the access token is valid, ''false'' otherwise.</translate><br/>

Revision as of 15:28, 13 July 2023


Available since: Gideros 2012.09
Class: Facebook

Description


Checks if the access token is available and has not expired.

<syntaxhighlight lang="lua"> (bool) = Facebook:isSessionValid() </source>

Return values

Returns (bool) true if the access token is valid, false otherwise.