0.0.5 • Published 10 years ago

hoodie-plugin-facebook-login v0.0.5

Weekly downloads
6
License
-
Repository
-
Last release
10 years ago

Hoodie Facebook Login Plugin

Use Facebook credentials to login into your hoodie app.

Installation

hoodie install facebook-login

After installing the plugin, you must configure it using your Facebook App configuration keys. You need to do this both for the plugin's front-end and backend code. To setup the keys for the plugin's backend, you can use the plugin's admin dashboard. However, the plugin's front-end configuration have to be done directly in the plugin's front-end API code, in the line 6 of the file "hoodie.facebook-login.js":

// Plugin contant values
var APP_ID = 'APP_ID'

Front-end API

// sign in
hoodie.facebookSession.logIn()
// sign out
hoodie.facebookSession.logOut()
// check if there's an opened session
hoodie.facebookSession.isLogged()
// get current Facebook Access Token
hoodie.facebookSession.getAccessToken()

License

The MIT License (MIT)

Copyright (c) 2015 GlazedSolutions

0.0.5

10 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago

0.0.0

11 years ago