How to configure Facebook login API?


Answer:

For Facebook:

  1. From the Navigation, go to Frontend Settings → Site Settings → Third party Settings → Social Login Configuration.

  2. Turn the facebook login setting status on.

  3. For the App ID & App Secret, go to developers.facebook.com and log in your facebook account.

  4. After log in, from the menu go to My Apps → Add a new App.

  5. Give your app a display name, your contact email and choose a category for your app. Then create your App ID.

  6. After creating the App ID you will be redirected to your App ID settings.

  7. Go to Settings → Basic, fill up the form and in the bottom of the form you will see a button Add Platform. Click the button and choose the website. Then set your website url in this section. [N.B: in the app domain section use “http://”, then www.yourwebsite.com  ]

  8.  Go to App Review and make your app public just turning on the switch.

  9. From the Dashboard, click on the show button to see the App Secret.

  10. Now copy the App ID and App Secret and paste it into your system and click save button.

×