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'
)
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.