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.29k stars 446 forks source link

Lastest Facebook Version #291

Open kingrootid opened 1 year ago

kingrootid commented 1 year ago

Hello, i want to ask about how to use a api version lastest in facebook i use this package in version 3.0.0 and in url of login facebook i use v3.2 i want to use lastest version of facebook api how to change the version of api ?

Environment

wnetking commented 1 year ago

Hello! Try to use option graphAPIVersion on strategy init.

https://github.com/jaredhanson/passport-facebook/blob/master/lib/strategy.js#L50