passport-facebook-token icon indicating copy to clipboard operation
passport-facebook-token copied to clipboard

Added getLongLivedToken option

Open trex005 opened this issue 10 years ago • 4 comments

Added getLongLivedToken option - default false, if set to true, will try to obtain a long lived token from Facebook which will be accessible via req.longLivedToken. It will also add req.longLivedTokenExpires

trex005 avatar Feb 10 '15 03:02 trex005

Please add tests to this if you'd like it merged.

drudge avatar Jun 23 '15 15:06 drudge

the code is a little changed from this pull request was submitted, since i need this feature if you provide me some hint i can port this pull request to the actual master version (and provide some tests)

Jcbobo avatar Apr 14 '17 08:04 Jcbobo

I'd be glad to help. Aside from what you can see in the diff: https://github.com/drudge/passport-facebook-token/pull/23/files What are you looking for?

For the record, I don't use this any longer, so I can't confirm nothing has changed with the technology.

trex005 avatar Apr 18 '17 00:04 trex005

the master branch is "changed", what i was thinking is needed is checkout the pr branch and update it from the master branch of the repo (but i can't)

Jcbobo avatar Apr 20 '17 21:04 Jcbobo