Passport's Twitter Strategy
The next strategy is Passport's Twitter Strategy. Let's start with the installation of this strategy.
Installing Passport's Twitter Strategy
Run the following command to install the Twitter Strategy:
$ npm install passport-twitter --save
The preceding command should add the package to your package.json
file:
...
"node-sass": "^4.7.2",
"nodemon": "^1.14.10",
"passport": "^0.4.0",
"passport-twitter": "^2.1.1",
...