strong2much / yii2-facebook
Helper class to work with Facebook services and API
Package info
github.com/dtatarnikov/yii2-facebook
Type:yii2-extension
pkg:composer/strong2much/yii2-facebook
dev-master
2016-08-01 19:14 UTC
Requires
- php: >=5.5
- yiisoft/yii2: *
- yiisoft/yii2-httpclient: ~2.0.0
This package is auto-updated.
Last update: 2026-03-05 09:57:59 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' => '', ]);