Updated on 2025-11-07 GMT+08:00

Creating a Facebook Channel

Prerequisites

The Facebook has been configured. If the Facebook has not been configured, perform the following steps:

  1. Access https://developers.facebook.com/apps and use a Meta for Developers account to log in.

    If no Meta for Developers account is available, create one.

  2. Create an app.
    1. Click Other, select the Business type, customize the app name, and retain other default settings.
    2. Click Set up corresponding to the Messenger product to add it to the app.

  3. Create a public home page.

  4. Bind the new public home page.

  5. Bring the app online.
    1. Choose App settings > Basic and set the privacy statement.

    2. Click to bring the app online.

  6. Return Messenger > Messenger API Settings, refresh the app page, and obtain the bound home page ID and token.

    • The number in the red box is the ID of the public home page, which corresponds to the value of Channel ID in the AICC.
    • The tokens correspond to the values of accessToken and refreshToken in the AICC.
  7. Obtain the ID and secret of the created app.

    • The value of App ID corresponds to the value of Client ID in the AICC.
    • The value of App secret corresponds to the value of appKey in the AICC.
  8. Set access permissions.
    1. Access https://developers.facebook.com/tools/explorer/.
    2. Set the parameter on the top of the page to me?fields=id,name.
    3. Set Meta App to the app created in 2.
    4. Add the following permissions under Permission:
      • pages_show_list
      • pages_messaging
      • pages_read_engagement
      • pages_manage_metadata
      • pages_read_user_content
      • pages_manage_posts
      • pages_manage_engagement
    5. Set User or Page.
      1. Click and choose Get Page Access Token. The public home page is displayed.
      2. Click Continue as XXX, and select the public home page created in 3.
      3. Click Continue.
      4. Click Save.
      5. Click again and select the new public home page.
    6. Click Generate Access Token and record the token.
    7. Check whether the public home page under User or Page is the new public home page, and click Submit. The permissions are added successfully.

  9. Set the validity period of the access token to three months.
    1. Access https://developers.facebook.com/tools/debug/accesstoken.
    2. Enter the access token obtained in 8.f and click Debug.

      If the debugging is successful, the following information is displayed:

      • The value of Type is Page, not User.
      • The value of Expires is Never.
      • The value of Data Access Expires is about three months later.
      • The permissions under Granular Scopes contain at least the permissions added in 6.

Context

None

Procedure

  1. Sign in to the AICC as a tenant administrator and choose > Account Post.
  2. Click Configure Channel and then click New.
  3. In the Create Channel dialog box, set parameters based on Table 1.

    Table 1 Parameters for creating a channel

    Parameter

    Description

    Channel Name

    Enter a customized name.

    OU Configuration

    OU to which the channel configuration belongs.

    NOTE:

    If no OU is configured or Unorganized is selected, the data can be used by all OUs.

    Channel Configuration

    Select Facebook.

    Channel ID

    Public home page ID obtained in 6.

    Client ID

    App ID generated in 7.

    AppKey

    App key generated in 7.

    AccessToken

    Tokens generated in 6.

    RefreshToken

    ApiFabricAK

    Contact the system administrator to obtain the app secret of the app that has subscribed to the facebookNorth, facebookRefreshNoth, and facebookReplyNorth APIs and bound to the tenant space for which the Facebook channel needs to be configured on the Configuration Center > Expansion and Integration > API Management > APP Service > APP Management page, and enter the app ID here.

    ApiFabricSK

    Contact the system administrator to obtain the app secret of the app that has subscribed to the facebookNorth, facebookRefreshNoth, and facebookReplyNorth APIs and bound to the tenant space for which the Facebook channel needs to be configured on the Configuration Center > Expansion and Integration > API Management > APP Service > APP Management page, and enter the app secret here.

    Associated Channel Configuration

    Select the Facebook chat channel configured for the current tenant for association. For details about the Facebook channel, see Configuring the Facebook Channel.

    Operation personnel

    Assign employees of the tenant to maintain the publish channel.

    A maximum of 10 operators can be assigned to a channel.

    NOTE:
    • When publishing a post, you can view only the channel for which you are an operator.
    • It is recommended that at least one operator be configured.

  4. Click Save.