Facebook Business Application Setup

Creating a Facebook Business Application for Joomla takes just a few steps. This app type is aimed at business integrations for Facebook Login, Pages API for posting to Pages and Messenger API. If you're looking for a consumer application for consumer login, social widgets and user profile data, create a Facebook Consumer Application instead.

Please note that Facebook requires that your site has a valid SSL certificate and works over an SSL connection. If you don't have https for your site, services like Cloudflare are free and add SSL encryption to your site that works with Facebook. 

  1. Log into Facebook with the account that you want to 'own' your Facebook Business application.
    Note: Facebook requires all applications to be owned by real people. You cannot create a Facebook Business Application using a Facebook 'Page' account.
  2. Log into the Facebook Developer Center at:
    http://developers.facebook.com/apps
  3. Click the "Create App" button as shown below:Facebook App - Create App
     
  4. On the "Create an App" screen, choose "Other" as the type of app, then select Business.
    Facebook App - App Type
    1. Business allows for business integrations with Facebook Login, Pages API for posting to Pages, Messenger API, etc
    2. Consumer allows detailed profile information to be imported. Use this option to import profile data with JFBConnect into profile extensions such as JomSocial or EasySocial. If you need a Consumer app instead, create a Facebook Consumer Application.
  5. On the 'Create an App' screen, enter a name, contact email address, and App Purpose.
    Facebook App - Create App
  6. Click 'Create App' button.
  7. The application will be created at this point. You'll be redirected to the Product Setup section. Select the 'Set Up' button for the 'Facebook Login for Business' product.
    FB App: Facebook Login Product
  8. Follow the Facebook Login for BusinessQuickstart Guide. Select Web (www) as the platform.FB App::Select Platform
  9. Enter the "Site URL" (below) and click the Save button. Once Facebook determines that there are no errors, the Continue button will become enabled. Click the Continue button.
    FB App: Site URL
  10. Skip the 'Set up the Facebook SDK for Javascript', 'Check Login Status' or 'Add the Facebook Login Button' sections by clicking the Next button. You will use JFBConnect to add any Login, Share or Social widgets to your page.

App Settings > Basic

  1. Navigate into the App Settings > Basic section for your app. You should see a large window with information like the image below:
      FB App: App ID and Secret Key
  2. Click the Show button to reveal your App Secret. Copy your "App ID" and "App Secret" down. You will use it in the Autotune Configuration Tool within JFBConnect.
  3. Add an "App domains" by entering text and hitting the 'Enter/Return' key to add the entry. This must match the domain of the Website URL you already entered.
    FB App: Add an App Domain
  4. Select a "Category" for the app.
  5. Enter a "Privacy Policy URL".
  6. Hit the Save Changes button at the bottom of the page.

Settings > Advanced

  1. Navigate to the Settings > Advanced tab and set the "Native or Desktop app?" setting to 'No'

Products > Facebook Login > Settings

  1. Fill out the "Valid OAuth redirect URIs" setting with the following URLs (replacing yourdomain.com with your actual domain name). Secure HTTPS is required for Facebook Login. If you have multiple ways to access your domain (like www or non-www), add them all here, like below. Once done, click Save Changes.
    https://yourdomain.com/index.php?option=com_jfbconnect&task=authenticate.callback&provider=facebookbusiness
    https://www.yourdomain.com/index.php?option=com_jfbconnect&task=authenticate.callback&provider=facebookbusiness
  2. Set the "Deauthorize Callback URL" setting like the following:
    https://yourdomain.com/index.php?option=com_jfbconnect&task=deauthorizeUser
  3. Set the "Data Deletion Requests" setting like the following:
    https://yourdomain.com/index.php?option=com_jfbconnect&task=deleteData
  4. Click "Save Changes".

Facebook Login for Business - Configurations

You will need to set up a configuration in order to request scopes for JFBConnect's channels feature (reading/posting to Pages, etc)

  1. Click the 'Create Configuration' buttonConfiguration - Create
  2. Type any nameConfiguration - Name
  3. Choose Login Variation 'General'Configuration - Login Type
  4. Choose 'User Access Token'Configuration - Token Type
  5. Select the following permissions if you'd like to Access your pages with the app: email, page_manage_posts, pages_read_engagement, pages_read_user_content, pages_show_list. If you forget a permission you can always come back to the configuration, edit it and re-log in.Configuration - Permissions
  6. 'Create' the configuration.
  7. Copy the configuration ID and enter it into the JFBConnect backend > Providers > Facebook Business > Configuration ID setting.