Creating a Facebook Channel
Prerequisites
The connection to Facebook has been completed. If the connection has not been completed, perform the following steps to complete the connection:
- Visit 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.
- 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.
- Refresh the application page to obtain the bound home page ID and password.
- 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 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 4 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 value.
Channel Configuration
Select Facebook.
Channel ID
Public home page ID obtained in 5.
Client ID
App ID generated in 6.
appKey
App key generated in 6.
accessToken
Tokens generated in 5.
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.Operation personnel
Assign employees of the tenant to maintain the publish channel.
A maximum of 10 operations personnel can be assigned to a channel.
- 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