Authenticate and request data from users with Facebook Login
Clone the project
git clone https://github.com/ibumjlp/react-facebook-login.git
Go to the project directory
cd react-facebook-login
Install dependencies
npm install
Start the server
npm start
Create an HTTPS endpoint
ngrok http 3000 --region="ap"
Go to Meta for Developers and Create New App
Get your Meta App ID and change .env file
REACT_APP_META_APP_ID=<YOUR_APP_ID>
Don't forget to Valid OAuth Redirect URIs and Allowed Domains for the JavaScript SDK with your HTTPS endpoint from ngrok