Yii 2 Facebook API
A simple library for Yii 2 that allows interfacing with the Facebook PHP SDK., (*1)
How to install, (*2)
Either run, (*3)
$ php composer.phar require alexrvs/yii2-facebook
or add, (*4)
"alexrvs/yii2-facebook"
to the require
section of your composer.json
file., (*5)
How to use, (*6)
Add into config new component, (*7)
"components" => [
'facebook' => [
'class' => 'alexrvs\facebook\Facebook',
'appId' => 'Your app ID',
'secret' => 'Your secret key app',
]
]
License
The MIT License (MIT), (*8)
Copyright (c) 2015 Gary Rutland, (*9)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:, (*10)
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software., (*11)