How to create a Facebook App Project
To configure a Facebook social account, go to the Configuration section, enable Facebook, and fill in all required fields.
Follow the steps below to create and configure your Facebook App.
-
Open Facebook Developers Console, log in and click Create App.
-
Select Consumer app type - this type is recommended for social login. Click Next.
-
Fill in the required fields:
- App name (e.g.,
Facebook Social Login) - App contact email
- Optional: Business account
Click Create App.
- App name (e.g.,
-
Add Facebook login product. After creating the app:
- In the left sidebar open Add Product
- Find Facebook Login
- Click Set Up
This enables Facebook login functionality for your app.
-
Configure Facebook login settings. Navigate to: Facebook Login -> Settings And add your Redirect URI. Copy the value from the Redirect URI field in the Social Login extension configuration and paste it into Valid OAuth Redirect URIs field. Save your changes.
-
Configure app domains & basic settings. Go to Settings -> Basic and fill required fields:
- App Domains: your store domain (e.g.
example.com) - Privacy Policy URL: required by Facebook
- Terms of Service URL
- User Data Deletion URL: this URL must describe how a user can request deletion of their data, e.g.
https://example.com/data-deletion - App Icon (optional)
- Category
- Website URL in Add Platform -> Website
tip- Your domain must match exactly: protocol (
https://), subdomain, and path. - Facebook may reject OAuth requests if the domain is inconsistent.
- App Domains: your store domain (e.g.
-
Configure required permissions. Social Login requires the following permissions:
- Default permissions (without review):
public_profile - Additional permissions:
email- Often does not require manual App Review if only used for login
- But you must enable it in the dashboard
Navigate to: App Review -> Permissions and Features and enable email
- Default permissions (without review):
-
By default, the app is in Development mode, and only admins/testers can use login. To allow customers to sign in:
- Open App Review
- Ensure required permissions (
public_profile,email) are enabled - Switch the app from Development to Live
This makes Facebook Login available on your storefront.
-
Retrieve app credentials in the Settings -> Basic and copy App ID with App Secret. Paste these values into the Facebook configuration fields in your Magento Social Login extension configuration.
-
Finish configuration. Save the Magento configuration and test Facebook Login on the storefront.
Your Facebook App Project setup is complete and ready for use.