dev-master
9999999-devLaravel 4 Facebook social plugins
BSD-2-Clause
The Requires
- php >=5.3.0
- illuminate/support 4.0.x
by @totox777
Wallogit.com
2017 © Pedro Peláez
Laravel 4 Facebook social plugins
Laravel 4 Package to embed facebook comment and like plugin, (*1)
add this line to your require array in composer.json, (*2)
"totox777/fbplugins": "dev-master"
and then, Run :
composer update to pull down the latest version., (*3)
add this line to your app.php provider array:, (*4)
'Totox777\Fbplugins\FbpluginsServiceProvider',
and add this line to app.php aliases array:, (*5)
'Fbplugins' => 'Totox777\Fbplugins\Facades\Profiler',
config: don't forget to input your facebook app_id and admins in src/config/config.php, (*6)
Always use this once in your script:, (*7)
Fbplugins::getScript();
To embed comment:, (*8)
Fbplugins::getPlugin('comments');
To embed like:, (*9)
Fbplugins::getPlugin('like');
To embed activity:, (*10)
Fbplugins::getPlugin('activity');
Laravel 4 Facebook social plugins
BSD-2-Clause