ceejayoz / laravel-facebook

Laravel 4 Facebook package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Latest Stable Version Total Downloads

Installation

Update your composer.json file to include this package as a dependency

"thomaswelton/laravel-facebook": "dev-master"

Register the Facebook service provider by adding it to the providers array in the app/config/app.php file.

Thomaswelton\LaravelFacebook\LaravelFacebookServiceProvider

Alias the Facebook facade by adding it to the aliases array in the app/config/app.php file.

'aliases' => array(
	'Facebook' => 'Thomaswelton\LaravelFacebook\Facades\Facebook'
)

Configuration

Copy the config file into your project by running

php artisan config:publish thomaswelton/laravel-facebook

Edit the config file to include your app ID and secret key.

About

Laravel 4 Facebook package