get access token

Get the current access token being used by the SDK. This may be a user access token or an application access token. See the permissions page for more information on access tokens.

 Get the current access token
$access_token = $facebook->getAccessToken();