Handles Facebook login and returns the user's Facebook UID and access_token
http://jackrabbitsgroup.github.io/angular-facebook-auth/
- 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
- download the files
- Bower
- add
"angular-facebook-auth": "latest"
to yourbower.json
file then runbower install
OR runbower install angular-facebook-auth
- add
- Bower
- include the files in your app
facebook-auth.min.js
- add the facebook javascript sdk (i.e. put
<script src="//connect.facebook.net/en_US/all.js"></script>
in yourindex.html
file)
- 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.
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