This class just wraps the Facebook PHP SDK so that it may be used from the command line without exploding.
With composer
{
"require": {
"jbboehr/facebook-php-cli": "~1.0.0"
}
}
With composer
require 'vendor/autoload.php';
$facebook = new CliFacebook(array(
'appId' => $appId,
'secret' => $secret,
));