PHP code example of laravel-enso / facebook
1. Go to this page and download the library: Download laravel-enso/facebook library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
laravel-enso / facebook example snippets
return [
'verificationCode' => env('FACEBOOK_VERIFICATION_CODE'),
'pageId' => env('FACEBOOK_PAGE_ID'),
];
use LaravelEnso\Facebook\Models\Settings;
$pageId = Settings::pageId();
$verificationCode = Settings::verificationCode();
bash
php artisan migrate
bash
php artisan vendor:publish --tag=facebook-config