jbboehr/facebook-php-cli

1.0.1 2014-07-20 03:01 UTC

README

Build Status HHVM Status

This class just wraps the Facebook PHP SDK so that it may be used from the command line without exploding.

Installation

With composer

{
    "require": {
        "jbboehr/facebook-php-cli": "~1.0.0"
    }
}

Usage

With composer

require 'vendor/autoload.php';
$facebook = new CliFacebook(array(
  'appId' => $appId,
  'secret' => $secret,
));