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:
First go to: https://developers.facebook.com/
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, then click Create Apps to create your new app
Choose the type of app you want to create
Then, redirect to the app creation page. Fill out Display name, Email for your app.
On the Advanced page, get the Valid OAuth redirect URLs from our Social Login settings in the backend
As the Step 5, at
Facebook Login > Settings: copy Valid OAuth redirect URLs and paste in the Share Redirect Domain Allow List field.
Access to the Basic page, get, and insert APIs into API fields in the extension’s settings in the Admin console.
And that’s it!
If for some reason you still can’t manage to create an application for Facebook, you can ask for support.
Must-have extensions for your Magento stores