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 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

Login Facebook by click on Login or create a new Facebook account. After that, click on My App from the Apps menu at the top

Step 3

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

Enter the securuty code before creating a new Facebook API

Step 4

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

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

Step 5

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

Step 6

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

Step 7

  • Add a Product
  • No need to choose any platforms. Click the Settings on the left to input the RedirectURIs.
  • 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.

Step 8

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

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