This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Description
The SDK is broken in a few places for large App Ids that get formatted in exponential notation by PHP.
I've patched my version locally with the following fixes:
OAuth2Client.php line 138 and 288:
'client_id' => sprintf("%.0f", $this->app->getId()),
FacebookSignedRequestFromInputHelper.php line 160:
$cookieName = sprintf('fbsr_%.0f', $this->app->getId());
if (isset($_COOKIE[$cookieName])) {
return $_COOKIE[$cookieName];
}
Hopefully someone will pick this up and incorporate it in the code.