Configure login with Facebook


Answer:

To configure facebook login api follow the steps below.

  • Log in to https://developers.facebook.com using your 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 - PWA eCommerce cms admin Settings > Social media logins and set the App ID and App Secret in Facebook Login Credential.
  • Click on Save.

×