Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Latest commit

 

History

History
60 lines (42 loc) · 2.49 KB

README.md

File metadata and controls

60 lines (42 loc) · 2.49 KB

FacebookBundle

Latest Stable Version Latest Unstable Version License

Total Downloads Monthly Downloads Daily Downloads

Build Status Scrutinizer Code Quality Code Climate Coverage Status

Donate to this project using Flattr Donate to this project using PayPal

This bundle adds some basic auth mechanisum for using the Facebook API inside symfony.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require core23/facebook-bundle

Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in bundles.php file of your project:

// config/bundles.php

return [
    // ...
    Core23\FacebookBundle\Core23FacebookBundle::class => ['all' => true],
];

Configure the Bundle

Create a configuration file called core23_facebook.yaml:

# config/packages/core23_facebook.yaml

core23_facebook:
    api:
        field:       'app_id'
        class:       'app_secret'
        permissions: ['public_profile', 'user_likes']

License

This bundle is under the MIT license.