Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Creating a Facebook Channel

Updated on 2025-01-23 GMT+08:00

Prerequisites

The connection to Facebook has been completed. If the connection has not been completed, perform the following steps to complete the connection:

  1. 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.

  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. 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.
  6. 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.
  7. 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 Submit. The permissions are added successfully.

  8. 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 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

  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 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 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.

    Operation personnel

    Assign employees of the tenant to maintain the publish channel.

    A maximum of 10 operations personnel can be assigned to a channel.

  4. Click Save.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback