daxslab/yii2-facebookcomments-widget Yii2 widget to include the Facebook widget for comments in views.

extensioncommentsfacebook

Yii2 Facebook Comments

Latest Stable Version Total Downloads Latest Unstable Version License

Yii2 widget to include the Facebook widget for comments in views.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist daxslab/yii2-facebookcomments-widget "*"

or add

"daxslab/yii2-facebookcomments-widget": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your views by :

<?= \daxslab\facebook\CommentsBox::widget([
    'appId' => 'MY_FACEBOOK_APP_ID', //defaults to Yii::$app->paramss['facebook_app_id']
    'numPosts' => 10 //defaults to 5
]); ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.0.0 is the latest of one release



MIT license
Stats
3 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
29 total downloads