Package Data | |
---|---|
Maintainer Username: | totox777 |
Maintainer Contact: | totox@yoqizainteractive.com (@totox777) |
Package Create Date: | 2013-07-08 |
Package Last Update: | 2013-07-12 |
Language: | PHP |
License: | BSD-2-Clause |
Last Refreshed: | 2024-12-15 15:16:09 |
Package Statistics | |
---|---|
Total Downloads: | 78 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 4 |
Total Watchers: | 2 |
Total Forks: | 1 |
Total Open Issues: | 0 |
Laravel 4 Package to embed facebook comment and like plugin
##INSTALL
add this line to your require array in composer.json
"totox777/fbplugins": "dev-master"
and then, Run :
composer update
to pull down the latest version.
add this line to your app.php provider array:
'Totox777\Fbplugins\FbpluginsServiceProvider',
and add this line to app.php aliases array:
'Fbplugins' => 'Totox777\Fbplugins\Facades\Profiler',
config: don't forget to input your facebook app_id
and admins
in src/config/config.php
##Usage Always use this once in your script:
Fbplugins::getScript();
To embed comment:
Fbplugins::getPlugin('comments');
To embed like:
Fbplugins::getPlugin('like');
To embed activity:
Fbplugins::getPlugin('activity');