dhiraj / yii2-facebook-accountkit
Given app secret and client id, returns the user's accessToken and user information from Facebook's AccountKit Graph User API. The basic idea is to use the 'code' flow from your native Android or iOS app which is using a REST API from your Yii2 site.
Installs: 565
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
- yiisoft/yii2-httpclient: ^2.0
This package is auto-updated.
Last update: 2024-11-09 02:56:32 UTC
README
Given app secret and client id, returns the user's accessToken and user information from Facebook's AccountKit Graph User API. The basic idea is to use the 'code' flow from your native Android or iOS app which is using a REST API from your Yii2 site.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist dhiraj/yii2-facebook-accountkit "*"
or add
"dhiraj/yii2-facebook-accountkit": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \traversient\yii\AutoloadExample::widget(); ?>```