Facebook::setApiSecret($app_secret)Set the app secret that the SDK is currently using. The app secret is associated with the app id, so you should also call setAppId() if you call this method.
// Set a new app secret
$facebook->setApiSecret(“APP_SECRET”);
// If you do above, also set the app id
$facebook->setAppId("APP_ID");
| Name | Description |
|---|---|
app_secret |
The new App secret to use for the SDK. |