Eugene Obrezkov
Eugene Obrezkov
Feel free to port it to TypeScript, we will be glad to merge the PR with it!
@saravr `profile.username` is a `screen_name` from the Twitter response (if it exists). I'm trying to reproduce this but still unsuccessful. Can you clarify the problem?
@jadslim313 `passport.authenticate()` returns a function, which accepts `req` and `res` arguments. When you are using it in Express middlewares, it calls automatically. But, in Sails, you need to call it...
@rslim087g you can remove `res`, I leave it just for consistency.
@hansemannn I can merge the PR, but I do not have the access to publish the component. Any breaking changes in graph 3.0 ?
@SASDOE you need to provide token which has access to get email field.
Did you try use `emails` instead of `email`?
@vanhung89 read the README - https://github.com/drudge/passport-facebook-token#client-requests
https://github.com/drudge/passport-facebook-token#authenticate-requests
@rakesh1988 we are using hmac proof as documented on Facebook documentation. It shouldn't really work 🤔