Creating a Facebook Channel
Prerequisites
The Facebook has been configured. If the Facebook has not been configured, perform the following steps:
- Access https://developers.facebook.com/apps and use a Meta for Developers account to log in.
- Create an app.
- Click Other, select the Business type, customize the app name, and retain other default settings.
- Click Set up corresponding to the Messenger product to add it to the app.

- Create a public home page.
- Bind the new public home page.
- Bring the app online.
- Choose and set the privacy statement.
- SaaS scenario: The privacy statement link is provided by Huawei Cloud, for example, https://www.huaweicloud.com/intl/en-US/declaration-sg/sa_prp.html.
- OP integration scenario: The privacy statement link is provided by the enterprise customer.

- Click
to bring the app online.

- Choose and set the privacy statement.
- Return , 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.
- 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.
- Set access permissions.
- Access https://developers.facebook.com/tools/explorer/.
- Set the parameter on the top of the page to me?fields=id,name.
- Set Meta App to the app created in 2.
- 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
- Set User or Page.
- Click
and choose Get Page Access Token. The public home page is displayed. - Click Continue as XXX, and select the public home page created in 3.
- Click Continue.
- Click Save.
- Click
again and select the new public home page.
- Click
- Click Generate Access Token and record the token.
- Check whether the public home page under User or Page is the new public home page, and click Submit. The permissions are added successfully.

- Set the validity period of the access token to three months.
- Access https://developers.facebook.com/tools/debug/accesstoken.
- 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
- Sign in to the AICC as a tenant administrator and choose .
- Click Configure Channel and then click New.
- 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 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 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.
- Click Save.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot



