strong2much/yii2-facebook

Helper class to work with Facebook services and API

dev-master 2016-08-01 19:14 UTC

This package is auto-updated.

Last update: 2024-05-05 06:11:29 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' => '',
]);