Julio Montoya 28ea16582a Updating vendors | 11 년 전 | |
---|---|---|
.. | ||
FacebookStrategy.php | 11 년 전 | |
README.md | 11 년 전 | |
composer.json | 11 년 전 |
Opauth strategy for Facebook authentication.
Implemented based on https://developers.facebook.com/docs/authentication/
Install Opauth-Facebook:
cd path_to_opauth/Strategy
git clone git://github.com/uzyn/opauth-facebook.git Facebook
Create Facebook application at https://developers.facebook.com/apps/
Configure Opauth-Facebook strategy with at least App ID
and App Secret
.
Direct user to http://path_to_opauth/facebook
to authenticate
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..
Opauth-Facebook is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)