How to configure Facebook Login
- Navigate and Login to https://developers.facebook.com/apps
- Click "Add New App"
- Enter your app name and contact email
- In App Dashboard, click
Set Up
in Facebook Login section - Chose "Web" as your Platform
- Set Site URL to
http://localhost:3000/
for local testing. (Port of your Node server, not the port of the BrowserSync proxy) - Click Facebook Login on the left panel
- Turn on Client OAuth Login and Web OAuth Login. Enter
http://localhost:3000/login/facebook/return
for Valid OAuth redirect URIs. - Get your App ID and Secret and copy it to
src/config.js