strong2much / yii2-facebook
Helper class to work with Facebook services and API
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- php: >=5.5
- yiisoft/yii2: *
- yiisoft/yii2-httpclient: ~2.0.0
This package is auto-updated.
Last update: 2024-11-05 07:11:09 UTC
README
Helper class to work with Facebook services and API.
Installation
Install package by composer
{
"require": {
"strong2much/yii2-facebook": "dev-master"
}
}
Or
$ composer require strong2much/yii2-facebook "dev-master"
Use the following code in your configuration file to work with facebook graph api
'facebook' => [ 'class' => 'strong2much\facebook\Api' ]
Use the following code to run widget in view:
echo strong2much\facebook\widgets\LikeBoxWidget::widget([ 'appId' => '', 'url' => '', ]);