facebook_accesstoken

This function returns the access token from Facebook.

Syntax:

facebook_accesstoken()



Returns: String


Description

An access token is a random string that provides temporary, secure access to the Facebook APIs, and this function will return the access token that Facebook gives you when you log in to verify that it's a valid log in.


Example:

token = facebook_accesstoken();

The above code gets the access token that Facebook generates for the user and stores it as a string in the variable "token".


Back: Facebook
Next: facebook_user_id
© Copyright YoYo Games Ltd. 2018 All Rights Reserved