Skip to content

jackrabbitsgroup/angular-facebook-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AngularJS facebook authorization and login service

Handles Facebook login and returns the user's Facebook UID and access_token

Demo

http://jackrabbitsgroup.github.io/angular-facebook-auth/

Dependencies

  • required:
    • angular (tested on 1.2.0.rc3)
    • facebook javascript sdk

See bower.json and index.html in the gh-pages branch for a full list / more details

Install

  1. download the files
    1. Bower
      1. add "angular-facebook-auth": "latest" to your bower.json file then run bower install OR run bower install angular-facebook-auth
  2. include the files in your app
    1. facebook-auth.min.js
    2. add the facebook javascript sdk (i.e. put <script src="//connect.facebook.net/en_US/all.js"></script> in your index.html file)
  3. include the module in angular (i.e. in app.js) - jackrabbitsgroup.angular-facebook-auth

See the gh-pages branch, files bower.json and index.html for a full example.

Documentation

See the facebook-auth.js file top comments for usage examples and documentation https://github.com/jackrabbitsgroup/angular-facebook-auth/blob/master/facebook-auth.js

About

AngularJS Facebook Login service

Resources

Stars

Watchers

Forks

Packages

No packages published