2017 © Pedro Peláez
 

library zf2-facebook-module

Zend Framework 2 module providing integration with Facebook php-sdk

image

widmogrod/zf2-facebook-module

Zend Framework 2 module providing integration with Facebook php-sdk

  • Wednesday, June 19, 2013
  • by widmogrod
  • Repository
  • 6 Watchers
  • 18 Stars
  • 278 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 2 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

FacebookBundle - NOT MAINTAINED.

Introduction

FacebookBundle is simple integration with Facebook php-sdk library., (*1)

P.S. Sorry for my english. If You wish to help me with this project or correct my english description - You are welcome :), (*2)

Requirements

  • Zend Framework 2 (https://github.com/zendframework/zf2). Tested on Zend Framework 2.0.0beta4.
  • PHP 5.3 or gather

Installation

  1. cd my/project/directory
  2. Create a composer.json file with following content:

``` json { "require": { "widmogrod/zf2-facebook-module": "dev-master" } }, (*3)


3. Run `php composer.phar install` 4. Open ``my/project/folder/configs/application.config.php`` and add ``'FacebookBundle'`` to your ``'modules'`` parameter. ## How to use ``` php // in controller $this->getLocator()->get('facebook') // Facebook object

How to setup

php instance->facebook' config section is set. * User configuration layout will be propagated to 'di->instance->facebook' IF 'di->instance->facebook->config' is not set. */ 'FacebookBundle' => array( 'setAppIdInHeadScript' => true, 'appId' => 'your_app_id', 'secret' => 'your_secret', ), 'di' => array( 'instance' => array( 'alias' => array( 'facebook' => 'Facebook', ), /* * Is not required, IF 'FacebookBundle' config section is set. */ 'facebook' => array( 'config' => array( 'appId' => 'your_app_id', 'secret' => 'your_secret', ) ) ), ), ); ?>, (*4)

The Versions

19/06 2013

dev-master

9999999-dev https://github.com/widmogrod/zf2-facebook-module

Zend Framework 2 module providing integration with Facebook php-sdk

  Sources   Download

MIT

The Requires

 

The Development Requires

zf2 facebook