How to configure login with Facebook?
To configure facebook login api follow the steps below.
- Log into https://developers.facebook.com using facebook email and password.
- Click on My App and then click the Add New App.
- Give the name of the app and then click on Create App ID. It will automatically redirect to the App dashboard.
- Then go to Settings -> Basic.
- Set the App Domains and click on Save Changes.
- Get the App ID and App Secret.
- Now click on Products and select Facebook login.
- It will redirect you to Quick Settings.
- Select Web and give your site url and click Save.
- Go to Facebook login -> Settings.
- Set the Valid OAuth Redirect URIs (example:https://example.com/social-login/facebook/callback) and click on Save.
- Now go to The Shop Dashboard -> Setup And Configuration -> Social media login and set the App ID and App Secret in Facebook Login Credential.
- Click on Save.