facebook_accesstoken


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".