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

Configuring Facebook Information

This section describes Facebook-related configurations and applications to enable Facebook customers to chat with AICC agents online. If some pages or configurations on Facebook are different from those described in this section, the pages or configurations on Facebook prevail.

Prerequisites

None

Procedure

  1. Sign up for a Facebook personal account.

    Sign-up URL: https://www.facebook.com/

  2. Log in to Meta for Developers and apply for a Meta for Developers account.

    1. Use the Facebook personal account to log in to https://developers.facebook.com/.
    2. Click Get Started in the upper right corner.
    3. Create a Meta for Developers account as prompted.

    4. Verify the account. If the account has been verified during registration, skip this step.
    5. Check the mailbox information.

    6. Select Developer and click Complete Registration.

  3. Create an app. If you already have a Meta for Developers account, you can create an app by referring to Creating an App Using a Facebook Developer Account.

    1. After the Meta for Developers account is registered, the Create an app page is displayed. Click Create App.

    2. Enter a customized app name and click Next.

    3. Select Other and click Next.

    4. Select Business and click Next.

    5. Check the application information and click Create app.

    6. Enter the password of the Facebook account and click Submit.

  4. Configure the app.

    1. After the app is created, the app configuration page is displayed. Click Set up corresponding to Messenger to add the product for the app.

    2. In the navigation pane, choose Messenger > Messenger API Settings. Click Connect under Generate access tokens to add a public home page for the app.

    3. Select an option, as shown in the following figure, and click Create a Page. The page for creating a public home page is displayed.

      If a page has been added, perform the following operations to create another page:

      Choose App settings > Advanced > App Page and click Create new Page.

    4. Customize the name and category of the public home page and click Create Page.

    5. Configure the public home page as prompted and click Next.
    6. In the Connect WhatsApp to your Page step, click Skip. In the last step, click Done to complete the public home page configuration.

    7. Return to the Messenger > Messenger API Settings page. Click Connect under Generate access tokens to add the public home page to the app.

      In the dialog box that is displayed, click Continue as ***. *** indicates that you continue the operation as the *** user.

    8. Select the added public home page and click Continue.

    9. Click Save. The public home page is added to the app.

  5. Obtain the app secret.

    Choose App settings > Basic, click Show, and view and record the value of App secret for configuration later.

  6. Configure the AICC callback URL. Before performing this step, ensure that you have configured the Facebook channel in the AICC.

    1. Choose Messenger > Messenger API Settings and click Configure under Configure webhooks.

    2. Set Callback URL and Verify token to the values of URL and Verification Code generated on the channel configuration page of the AICC, respectively, and click Verify and save.

      You must set Callback URL to a domain name.

  7. Add subscriptions. Before performing this step, ensure that you have configured the Facebook channel in the AICC.

    1. Choose Messenger > Messenger API Settings and click Add Subscriptions.

    2. Select the messages, messaging_postbacks, messaging_optins, message_deliveries, and message_reads fields.

    3. Click Confirm to complete the subscription configuration.