Facebook::setAccessToken($access_token)Set the current access token being used by the SDK. This is useful if you've acquired an access token via other means and would like the SDK to use the same token.
// Set a new access token, by first getting it via means other than the SDK
$facebook->setAccessToken($new_access_token);
| Name | Description |
|---|---|
access_token |
New access token to use for the SDK. |