PHPackages                             nixilla/facebook-api-consumer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. nixilla/facebook-api-consumer

ActiveLibrary[API Development](/categories/api)

nixilla/facebook-api-consumer
=============================

Facebook API consumer in namespaced, easy to test PHP

0.2(13y ago)049MITPHPPHP &gt;=5.3.2

Since Apr 5Pushed 13y ago2 watchersCompare

[ Source](https://github.com/nixilla/facebook-api-consumer)[ Packagist](https://packagist.org/packages/nixilla/facebook-api-consumer)[ RSS](/packages/nixilla-facebook-api-consumer/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Facebook Graph API Consumer in PHP
==================================

[](#facebook-graph-api-consumer-in-php)

[![https://travis-ci.org/nixilla/facebook-api-consumer.png?branch=master](https://camo.githubusercontent.com/bb0da299949990e9bf06b158b9b935ae8412f02802f7305f19ec37427a6f445a/68747470733a2f2f7472617669732d63692e6f72672f6e6978696c6c612f66616365626f6f6b2d6170692d636f6e73756d65722e706e673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/bb0da299949990e9bf06b158b9b935ae8412f02802f7305f19ec37427a6f445a/68747470733a2f2f7472617669732d63692e6f72672f6e6978696c6c612f66616365626f6f6b2d6170692d636f6e73756d65722e706e673f6272616e63683d6d6173746572)

Facebook Graph API Consumer in namespaced, easy to test PHP, continuously integrated with Travis CI.

Installation
------------

[](#installation)

The easiest way - via [packagist](https://packagist.org/packages/nixilla/facebook-api-consumer) and [composer](http://getcomposer.org/):

```
{
    "require": {
        "nixilla/facebook-api-consumer": "~0.1"
    }
}
```

What does it do?
----------------

[](#what-does-it-do)

This library is a wrapper around Facebook Graph API plus it provides some utils method often used in Facebook integrated applications.

How does it do it?
------------------

[](#how-does-it-do-it)

This library provides Facebook\\Consumer class which is a higher level wrapper around [kriswallsmith/buzz](https://packagist.org/packages/kriswallsmith/buzz) library. You just specify what end point you're interested in and it'll pull the information for you.

For example:

```
