# How to Autopost from Joomla! to Facebook

In this tutorial, we will show how you can auto post from Joomla! to Facebook.

# Prerequisites

  • Perfect Publisher 9 or superior
  • A Facebook page
  • Perfect Publisher is compatible with Graph API v8.0 or superior. You can check the available versions here: Graph API Versions (opens new window)


On Joomla 4, the System - HTTP Headers plugin secures the default browser configuration with a high security/privacy standard. In particular, the "Cross-Origin-Opener-Policy" restricts the Facebook Login. Disable the "Cross-Origin-Opener-Policy" setting while you authorize the channel.

Once you have checked the prerequisites, proceed with step 1.


Images in Link Shares

  • The minimum allowed image dimension is 200 x 200 pixels.
  • The size of the image file must not exceed 8 MB.
  • Use images that are at least 1200 x 630 pixels for the best display on high resolution devices. At the minimum, you should use images that are 600 x 315 pixels to display link page posts with larger images.
  • If your image is smaller than 600 x 315 px, it will still display in the link page post, but the size will be much smaller.
  • We've also re-designed link page posts so that the aspect ratio for images is the same across desktop and mobile News Feed. Try to keep your images as close to 1.91:1 aspect ratio as possible to display the full image in News Feed without any cropping.
  • Our crawler only accepts gzip and deflate encodings, so make sure your server uses the right encoding.

For more information: https://developers.facebook.com/docs/sharing/webmasters/images (opens new window)

# STEP 1: Download and install Perfect Publisher

Download the extension from Extly's Download Area (opens new window), unzip and install Perfect Publisher in Joomla! backend with the standard procedure.

About Perfect Publisher updates: Install the update with the same procedure.

Once you have proceeded with the installation:

-Perfect Publisher component has been installed -System plugin - Perfect Publisher Automator has been installed and enabled to process new content and posts every 3 minutes -System plugin - Perfect Publisher for Joomla! Content (Articles) has been installed and enabled to publish Joomla! content.


Remember to assign your Download ID to enable all features.

# STEP 2: Set up your Facebook Business account

It is an advised practice to declare the ownership of Pages, the associated domains, users, roles, and apps in the Facebook Business Manager.

If you are a Facebook page administrator, you can access the Meta Business Suite (opens new window). To declare the associated domains, pages, and apps, you need a Business account in the Meta Business Manager (opens new window).

Go to https://business.facebook.com/overview (opens new window) and click on Create an account.

Business suite

Complete the account creation process, and go to your Business Manager (opens new window). Click on Get started, and then in the menu select Settings:

Business settings

If your account does not have Settings in the side menu, click on the cog icon beside the account name:

Business settings

Click on Business Settings to proceed with the following steps.

Business settings

# STEP 2.1: Domain verification

Once you have created your account, go to Settings > Business Settings > Brand Safety > Domains, add your domain, and proceed to the Domain Verification (opens new window) using one of the available methods.

Domain verification-1

# STEP 2.2: Connect your Assets

Once the domain is verified, go to Connected Assets and associate your domain/s with your page/s.

If you are the owner of the page with your personal account, you have to transfer the page to your Business Account:

Business account

In this way, your Business is the owner of the page, and you are the admin:

Business account

# STEP 2.3: User, Pages and Apps

Go to Users and add the people that work with your page/s.

Domain verification-2

Go to Accounts to add the app and the user/s. If you have not created the app yet, you can add it later or select the Business when you create the app.

Domain verification-2


Be sure to correctly associate your Pages and People, check if the users are correctly added to the Business Manager/Business Settings/Accounts/Pages/People.

# STEP 3: Create an app

Login at https://developers.facebook.com/ (opens new window) with your Facebook username and password. Go to My Apps, and click on Create app.

Create app

Select the option Business

App type

Complete the App Display Name, App Contact Email and the App Purpose. If you already have set your Business Manager account (recommended), select it and click on Create app.

Create App

In the App Dashboard, go to Settings/Basic to find your App ID and App Secret. Remember to complete the mandatory information:

  • Privacy Policy URL
  • Upload App Icon
  • Choose a category


Go to Add Platform, select Website and enter your website URL, save changes.



# STEP 3.1: Permissions and Features

With the release of API 8, the App Review process has been simplified, introducing a new access level for Apps (BAUPA, Business Asset User Profile Access). By default, all new apps created with API 8 are granted Standard Access for the permissions required to publish to a page, so it is unnecessary to submit the app for review.

To publish to Facebook, you need to have Standard Access for Pages manage posts and Pages read engagement. To find your app permissions, go to App Review, Permissions and Features:

Facebook Permissions

# STEP 3.2: Facebook Login

If the App is on API v12 or superior, Facebook has a new option to configure the Facebook Login, and you must configure it.

  1. Click on Facebook Login/ Settings.
  2. Enable Login with the JavaScript SDK
  3. Configure Allowed Domains for the JavaScript SDK with your domain. For instance: https://news.extly.com/.

Facebook Login

# STEP 4: Create and authorize a social channel

Go to the Perfect Publisher Control panel, select the Channels tab to create a new channel.


On Channel Tab, click on New, select the Channel Type and complete the Channel Data:


Go to Channel Details:

  1. Facebook Details: Complete the App ID and App Secret.


  1. Authorization: Click on the Facebook Login button and follow the steps.


The Facebook dialog may differ according to the Facebook API version



The authorization opens a dialog to Facebook. If the dialog is not shown, double-check to confirm if your browser is blocking the dialog. In Chrome, the pop-up blocker could be preventing the opening of the dialog. In Firefox, the function activity tracking could be blocking the task.


After the authorization, the Facebook application provides the Access Token to validate and fill the User-ID.

Click on "Validate". The User ID will be filled.



  1. Channel Selection: Select the Facebook page. Click on Validate Channel. Save and Close.


Perfect Publisher is ready to publish!

A new authorization Access Token has been granted.

A new Facebook Channel has been created.

By default, all new articles are going to be published on Facebook.

# STEP 5: Create a test article

  1. Create an article
  2. Check the Request list
  3. Wait 3 minutes, visit the front page
  4. Check the Posts list
  5. Check Facebook Page.
Last Updated: 9/18/2023, 5:12:52 PM