A Facebook authentication module in elementz using fbgraph
authenticate
- token - facebook token
- fieldsArr - customized array of fields
Example usage
var fb = require('elementz-fbgraph')
var token = 'fb-token-here';
fb.authenticate(token,['first_name','email'])
.then(function(result){
console.log(result);
})