# How to Autopost from Joomla! to Facebook

In this tutorial, we are going to show how you can autopost from Joomla! to Facebook.

# How to Autopost from Joomla! to Facebook

Prerequisites:

  • AutoTweetNG Free, Pro or Joocial 8.36 or superior
  • A Facebook account
  • System requirements: Joomla 3.4 or superior, PHP 7.2 or superior y MySQL 5.7 or superior (recommended)

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

# STEP 1: Download and install AutoTweetNG/ Joocial

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

About AutoTweetNG/ Joocial updates: Install the update with the same procedure.

Once you have proceeded with the installation:

-AutoTweetNG component has been installed -System plugin-AutotweetAutomator has been installed and enabled, to process new content and posts every 3 minutes -System plugin - AutotweetContent has been installed and enabled to publish Joomla! content.

TIP

Remember to assign your Download ID to enable all features.

# STEP 2: 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 Manage Business Integration

App type

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

Create App ID

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

Settings

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

Settings

Settings

# STEP 2.1: Test App

We recommend creating the Test App version of your App to practice and optimize your publishing process. The activity on Facebook generated with a Test App will only be shown to the App team.

Go to your apps, select Create a Test App. This Test App will be a clone of your app, but with a different App ID and App Secret. You have to use these Keys to create and test the channel.

STEP 2.1: Test App

# STEP 2.2: Permissions and Features

With the release of API 8, the App Review process has been simplified, introducing a new model of 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 not necessary to submit the app for review.

STEP 2.2: Permissions

STEP 2.2: Permissions

# STEP 3: Create and authorize a social channel

Go to AutoTweetNG/ Joocial Control panel, there select Channels tab to create a new channel.

Channels

On Channel Tab, click on New, select the Channel Type and complete the Channel Data, App ID and App Secret (Test App).

Channels

Go to Authorization tab to authorize the app in the Facebook account. Click on "Step 1: Authorize"

TIP

Facebook dialog may differ according to Facebook API version

Channels

NOTE

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.

Channels

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

Click on "Step 2: Validate" The User ID will be filled.

Channels

Go to Channel Selection tab and click on "Step 3: Validate Channel" and save.

Channels

AutoTweetNG/ Joocial 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 4: 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.

# STEP 5: Setup your Facebook account

It is an advised practice to declare the ownership of Pages, the associated domains, users, roles and apps. The recommended procedure is to do it in the business manager, https://business.facebook.com/(opens new window) .

Login at https://business.facebook.com/(opens new window) with your Facebook account. Create a business account.

Business accoutnt

# STEP 5.1: Domain verification

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

Domain verification-1

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

# STEP 5.2: 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 user/s to the page/s.

Domain verification-2

Go to Accounts to add the app and the user/s.

Domain verification-2

WARNING

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.