everyauth - Facebook login - reading extended user ( permissions ) data

202 views
Skip to first unread message

neo

unread,
Jun 13, 2012, 7:08:53 AM6/13/12
to everyauth
Hi.

I been using everyauth in app to login into Facebook using everyauth.
I'm able to login into Facebook and retrieve basic user data like
name, DOB, email address etc.


Now i have a requirement to capture more than basic user data like

Facebook inbox messages
friends list etc

i wonder if i would be able to do using everyauth with in node.js . I
kind of assumed it would be somewhere in code where you create user
but not sure...

everyauth
.facebook
.appId(conf.fb.appId)
.appSecret(conf.fb.appSecret)
.findOrCreateUser( function (session, accessToken,
accessTokenExtra, fbUserMetadata) {
return usersByFbId[fbUserMetadata.id] ||
(usersByFbId[fbUserMetadata.id] = addUser('facebook',
fbUserMetadata));
})
.redirectPath('/');


would appreciate any help?




Thanks
Reply all
Reply to author
Forward
Message has been deleted
0 new messages