Passport's Facebook Strategy is easy to integrate. As always, let's start with the installation of this strategy.
Passport's Facebook Strategy
Installing Passport's Facebook Strategy
We can install passport's Facebook Strategy by running the following command:
$ npm install passport-facebook --save
The following code should add the package to your package.json file:
...
"node-sass": "^4.7.2",
"nodemon": "^1.14.10",
"passport": "^0.4.0",
"passport-facebook": "^2.1.1",
...