How to configure Facebook API

Facebook requires that you create an external application linking your website to their API. Application id and secret (also sometimes referred as Consumer key and secret or Client id and secret) are what we call an application credentials. This application will link your website example.com to Facebook API and these credentials are needed in order for Facebook users to access your website.

These credentials may also differ in format, name and content depending on the social network.

To enable authentication with this provider and to register a new Facebook API Application, follow the steps:

Step 2

Select Add a New App from the Apps menu at the top

https://i.imgur.com/dGlMBxZ.png

Step 3

Then, a popup will display. Fill out Display name for your app.

https://i.imgur.com/JK7DxLi.png

Enter the securuty code before creating a new Facebook API

https://i.imgur.com/CsyC05w.png

Step 4

Go to Settings page and click on Add Platform. Then, choose Website

https://i.imgur.com/1BoQRSG.png

Next, enter the url in App Domains, Site URL and URL Privacy Policy fields. They should match with the current hostname example.com.

https://i.imgur.com/y5ByLgN.png

Step 5

Go to the Review page and choose YES to make the app to be public.

https://i.imgur.com/TsWdj5q.png

Step 6

Go back to the Settings page. The created application credentials (APP ID and Secret) will be shown like the image below.

https://i.imgur.com/NPC9fIe.png

Step 7

  • Add a Product
https://i.imgur.com/0ncXALM.png
  • No need to choose any platforms. Click the Settings on the left to input the RedirectURIs.
https://i.imgur.com/nzGOfqd.png
  • Leave all the default Options, get the Valid OAuth redirect URIs from our SocialLogin settings in backend.

Paste the link into the input and press Save changes button on the bottom right screen.

https://i.imgur.com/ANrIMdN.png

Step 8

Copy and insert API into API fields in the extension’s setting under Admin panel. Please check this image.

https://i.imgur.com/AyXkJwc.png

And that’s it!

If for some reason you still can’t manage to create an application for Facebook, you can ask for support.

Expert’s recommendations

Tip

Must-have extensions for your Magento stores

  1. One Step Checkout
  2. Layered Navigation
  3. Social Login FREE
  4. Affiliate
  5. Blog FREE
  6. Shop by brand
  7. SEO FREE
  8. Banner Slider FREE