dev-master
9999999-dev https://github.com/chathura86/zf2-facebook-moduleZend Framework 2 module providing integration with Facebook php-sdk
MIT
The Requires
- php >=5.3.3
- zendframework/zendframework 2.*
The Development Requires
zf2 facebook
Zend Framework 2 module providing integration with Facebook php-sdk
I'll update this once it is suitable for general use. How ever feel free to use it if you know what you are doing., (*1)
FacebookBundle is simple integration with Facebook php-sdk library., (*2)
composer.json
add:
``` json
{
"require": {
"chathura86/zf2-facebook-module": "dev-master"
}
}2. Run `php composer.phar install` 3. Open ``configs/application.config.php`` and add ``'FacebookBundle'`` to your ``'modules'`` parameter. ## How to setup ``` php <?php // configs/autoload/local.php return array( // other configurations 'FacebookBundle' => array( 'appId' => 'your_app_id', 'secret' => 'your_secret', ) ); ?>
php
// in controller
$this->getServiceLocator()->get('facebook') // Facebook object
, (*3)
Zend Framework 2 module providing integration with Facebook php-sdk
MIT
zf2 facebook