Giter Site home page Giter Site logo

djebba's Introduction

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
  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 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)

djebba's People

Contributors

djebbibmw avatar laapsaap avatar skennedy1492 avatar uzyn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.