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