jaredhanson / passport-facebook

Facebook authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-facebook/?utm_source=github&utm_medium=referral&utm_campaign=passport-facebook&utm_content=about
MIT License
1.3k stars 446 forks source link

A fail-safe Passport-Facebook solution? #145

Closed emorling closed 8 years ago

emorling commented 8 years ago

I was hoping that Passport-Facebook would be a drop-in solution. However, there appears to be many caveats with the Facebook API. Specifically "This authorization code has expired." and retrieving a long-living token. Is there a wrapper that handles all the knick-knacks of FB? Or is each developer re-inventing the wheel? :)

emorling commented 8 years ago

And includes FB.getLoginStatus and acts appropriately.

jaredhanson commented 8 years ago

Passport is about authentication only. It's not intended to be some high-level wrapper, so such features are out-of-scope of this project.