How to create a Facebook app for the Wall Posts module?

To work, the module needs a Facebook application that will authenticate that it is you, the Facebook Page administrator, who publish on the Page through the module.

First of all, make sure that the Facebook personal profile you are going to use (yours or a profile created for the occasion) is an administrator of the Facebook Page on which you want to publish. In the rest of this FAQ, we will consider that this is your personal profile (we will talk about "your Facebook profile"), it is up to you to create one especially for this kind of operation.

You must also have a Business Manager account (free creation), in order to be able to authenticate your business. For more information, click here.

 

Go to the Facebook for developers site and log in using your Facebook profile.

Click on "My apps" tab in the menu:

 

 

Then click on "Create App":

 

 

You need an application that allows you to manage your own Facebook Page for automatic publishing. So you need to select the application type "Manage Business Integrations". Then click on "Continue" :

 

 

Choose a name for this application to find it among others in your "Facebook for developers" account. Be careful, some terms like "Facebook" are not allowed for application names. You can for example write the name of your shop or the name of the module:

 

 

Enter the e-mail address where Facebook can contact you about your application:

 

 

Indicate that you will be using this app on behalf of "Yourself or your own business":

 

 

Select your Business Manager account and click on "Create App":

 

 

Check the box "I'm not a robot" to pass the security check and click on "Submit":

 

 

You have just created your application. You will now have to set it up and link it to your Wall Posts module.

First go to the menu on the left and click on "Settings" -> "Basic":

 

 

At the top of the window, click on your application ID to copy it:

 

 

and paste it in the "Facebook Application settings" tab of the module, in the field "Your Facebook Application ID":

 

 

Go back to your app's configuration and click to show the app secret key :

 

 

Enter your Facebook password so that Facebook verify your identity and click on "Submit":

 

 

Select the secret key just displayed and copy it into the same module's tab as before, just below the app ID:

 

 

 

Don't forget to click on the "Update" green button of the module to save the identifiers of the application you just entered:

 

 

Return to your app configuration.

Leave empty the "Namespace" field.

In the "App domains" field enter the domain of your website, i.e the part of the URL that follows the "https://" (and, if present, after www). For example for the URL site "https://maryshop.com", you only have to enter "maryshop.com":

 

 

Indicate the URLs of your privacy policy and terms of service in the corresponding fields. Note that it can be the same URL :

 

 

Upload an icon for your app and check that the purpose of the app "Yourself or your own business" is selected:

 

 

Finally, select the category "Shopping" and save the changes:

 

 

Then, the following message appears:

 

 

Indeed, to be able to publish on your Page thanks to the module and the app, you must have your business verified. So, before you continue to configure your application, go to this FAQ to follow the verification process of your business. You may also be asked to sign an additional contract. In this case, Facebook will let you know.

Once it's done, come back here.

Your business being verified, you get the "verified" status in the "Business verification" part: 

 

 

If your business is subject to the GDPR European regulation (General Data Protection Regulations), please provide the contact details of the person responsible for processing personal data (DPO) in your company:

 

 

Click on "Save Changes" at the bottom of the page.

You will now indicate that you are using this app for your website. Click on "Add Platform" and select "Website":

 

 

 

Enter the URL of your website and save changes:

 

 

Now go to the menu on the left and click on the small "+" next to "Products":

 

 

In "Add a product" find the "Facebook Login" product and click on "Set up":

 

 

In the left menu, click on the "Settings" tab:

 

 

Generally, this Facebook Login product is used to allow website visitors to connect to a site using their Facebook profile IDs. But, as far as our module is concerned, the app and this product will be used for another purpose. The "Facebook Login" product will allow the app to authenticate that it is you, the Facebook Page administrator, who publish on the Page, through the Wall Posts module. The application will therefore link your personal Facebook profile (only your public profile information), the Facebook Page of which you are an admin and your PrestaShop shop.

In the module's configuration, copy the "Facebook Login redirect URL":

 

 

and paste it in the "Valid OAuth Redirect URLs" field:

 

 

Click on the button "Save Changes".

The configuration of the app is finished. 

 

Now go back to the "Facebook Application Settings" tab of the module to link your Facebook administrator profile and your Facebook Page to the module via the application. To do this, follow our FAQ.

Other FAQs in this category