jbboehr/facebook-php-cli

This package is abandoned and no longer maintained. The author suggests using the facebook/graph-sdk package instead.

Facebook PHP SDK Wrapper for CLI

1.0.1 2014-07-20 03:01 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:24:57 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,
));