GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - opauth/facebook: Facebook strategy for Opauth

BranchesTags
Open more actions menu

Latest commit

 

History

62 Commits
62 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
FacebookStrategy.php
FacebookStrategy.php
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 

Repository files navigation

Opauth-Facebook

Opauth strategy for Facebook authentication.

Implemented based on https://developers.facebook.com/docs/authentication/

Getting started

  1. Install Opauth-Facebook:

    cd path_to_opauth/Strategy
    git clone https://github.com/opauth/facebook.git Facebook

    or

    composer require opauth/facebook
    
  2. 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.
  3. Configure Opauth-Facebook strategy with at least App ID and App Secret.

  4. Direct user to http://path_to_opauth/facebook to authenticate

Strategy configuration

Required parameters:

<?php
'Facebook' => array(
	'app_id' => 'YOUR APP ID',
	'app_secret' => 'YOUR APP SECRET'
)

Even though 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.

License

Opauth-Facebook is MIT Licensed
Copyright © 2012 U-Zyn Chua (http://uzyn.com)

About

Facebook strategy for Opauth

Resources

Readme
Activity
Custom properties

Stars

104 stars

Watchers

38 watching

Forks

170 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.