Facebook strategy for Opauth
Opauth strategy for Facebook authentication.
Implemented based on https://developers.facebook.com/docs/authentication/
cd path_to_opauth/Strategy git clone https://github.com/opauth/facebook.git Facebook
composer require opauth/facebook
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
Direct user to
<?php 'Facebook' => array( 'app_id' => 'YOUR APP ID', 'app_secret' => 'YOUR APP SECRET' )
fields 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 Fields Reference for list of valid fields.
Opauth-Facebook is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)