claromentis/opauth-facebook
最新稳定版本:1.0.1
Composer 安装命令:
composer require claromentis/opauth-facebook
包简介
Facebook strategy for Opauth
README 文档
README
Opauth strategy for Facebook authentication.
Implemented based on https://developers.facebook.com/docs/authentication/
Getting started
-
Install Opauth-Facebook:
cd path/to/app/root composer require opauth/facebook:dev-wip/1.0 -
Create Facebook application at https://developers.facebook.com/apps/
- Remember to enter App Domains
- "Website with Facebook Login" must be checked, but for "Site URL", you can enter any landing URL.
-
Configure Opauth-Facebook strategy with at least
App IDandApp Secret. -
Direct user to
http://path_to_opauth/facebookto authenticate
Strategy configuration
Required parameters:
<?php 'Facebook' => array( 'app_id' => 'YOUR APP ID', 'app_secret' => 'YOUR APP SECRET' )
Even though scope is an optional configuration parameter for Opauth-Facebook, for most cases you would like to explicitly define it. It should be defined in a comma-separated string.
Refer to Facebook Permissions Reference for list of valid permissions..
License
Opauth-Facebook is MIT Licensed Copyright © 2012 U-Zyn Chua (http://uzyn.com)
统计信息
- 总下载量: 12.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-29