2017 © Pedro Peláez
 

symfony-bundle facebook-bundle

A simple bundle to expose Facebook SDK

image

armetiz/facebook-bundle

A simple bundle to expose Facebook SDK

  • Thursday, December 19, 2013
  • by armetiz
  • Repository
  • 1 Watchers
  • 3 Stars
  • 5,756 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

ArmetizFacebookBundle

A simple bundle to expose Facebook SDK., (*1)

Usage example

get("armetiz.facebook");
        
        $facebookSdk->setAccessToken($facebookToken);
        $userProfile = $facebookSdk->api('/' . $facebookId, 'GET');
    }

}
?>

Installation

Installation is a quick 3 step process:, (*2)

  1. Download ArmetizFacebookBundle using composer
  2. Enable the Bundle
  3. Configure your application's config.yml

Step 1: Download ArmetizFacebookBundle using composer

Add ArmetizFacebookBundle in your composer.json:, (*3)

{
    "require": {
        "armetiz/facebook-bundle": "*"
    }
}

Now tell composer to download the bundle by running the command:, (*4)

``` bash $ php composer.phar update armetiz/facebook-bundle, (*5)


Composer will install the bundle to your project's `vendor/armetiz` directory. ### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php get("armetiz.facebook.myApplicationA"); $facebookSdkB = $this->get("armetiz.facebook.myApplicationB"); $facebookSdkA->setAccessToken($facebookToken); $facebookSdkB->setAccessToken($facebookToken); $userProfileFromA = $facebookSdkA->api('/' . $facebookId, 'GET'); $userProfileFromB = $facebookSdkB->api('/' . $facebookId, 'GET'); } } ?>

The Versions

19/12 2013

dev-master

9999999-dev http://www.armetiz.info

A simple bundle to expose Facebook SDK

  Sources   Download

MIT

The Requires

 

symfony sdk facebook

29/03 2013

1.1.0

1.1.0.0 http://www.armetiz.info

A simple bundle to expose Facebook SDK

  Sources   Download

The Requires

 

sdk facebook armetiz

19/09 2012

1.0.0

1.0.0.0 http://www.armetiz.info

A simple bundle to expose Facebook SDK

  Sources   Download

The Requires

 

sdk facebook armetiz