申请Facebook侧APP权限与企业认证(Facebook渠道)
申请权限后,其他普通Facebook用户(非开发者)可以通过已配置的Facebook公共主页与AICC的座席在线交谈。正式商用前需参照本章节完成Facebook侧APP权限申请以及完成企业认证。
前提条件
- AICC座席可与Facebook(Facebook开发者账号的个人用户或已加管理员权限的用户)互发消息。
- 对接Facebook渠道,请提前录制一个小视频,演示如何向您的Facebook公共主页发送消息以及如何在24小时内通过AICC接收并回复该消息,此小视频后续申请权限时需要上传。录屏的要求可能会依据申请的APP权限有所区分,具体要求请参见Facebook官方指导:https://developers.facebook.com/docs/permissions#business_management
背景信息
|
渠道 |
所需的App权限 |
|---|---|
|
|
|
本章节将给出具体的申请操作步骤,若Facebook侧的界面或部分配置和本文描述不一致,请以Facebook侧以及其官方指导为准。Facebook官方指导链接:
https://developers.facebook.com/docs/app-review/submission-guide。
操作步骤(申请APP权限)
- 完成Facebook开发者账号下的APP设置。
- 选择Facebook渠道所需的权限和功能。
- 在左侧导航栏,选择。
- 搜索Facebook渠道所需的APP权限:pages_messaging、Business Asset User Profile Access。
并单击其对应的“Request advanced access ”将它们添加到您的提交内容中。
图1 添加pages_messaging权限
图2 添加Business Asset User Profile Access权限
- 单击“Continue request”。
- 移除不必要的权限。
- 在左侧导航栏,选择。
- 在 3. Complete App Review区域,单击“Request Permission”。

- 取消选择以下权限的复选框,然后单击“”“Request Permission”“”。
页面将自动跳转至。

- 回答关于数据处理的问题。
- 在左侧导航栏,选择。
- 下拉到页面的Reviewer instructions区域,然后单击“Provide reviewer instructions”。


- 下拉到页面的Data handling questions区域,然后单击“Answer questions about data handling”。

- 根据您的实际情况填写以下信息,然后单击“Submit”。

- 完成以下任务来说明为什么需要具有高级访问权限的pages_messaging权限以及应用程序如何使用它。
- 单击“How will this app use pages_messaging?”。

- 将以下文本复制并粘贴到详细描述框中,文本内容仅为推荐示例,您可以自行修改。
Facebook is the world's largest social media platform and a crucial component of digital channels. Through the digital channel access services provided by the {XX Organization} customer service system, end-users can engage in convenient, private, timely, and efficient text conversations with agents via Facebook, thereby enhancing user satisfaction with {XX Organization}. {XX Organization} serves global customers and aims to enable any customer to consult with human agents via Facebook at any time, efficiently resolving customer issues. 1. The {XX Organization} customer service system leverages the open capabilities of the Messenger Platform to facilitate text conversations between human agents and Facebook end-users. 2. When a Facebook end-user sends a message to a public page via Messenger, the application pushes this message to the {XX Organization} customer service system through a Webhook. The {XX Organization} customer service system then assigns the message to a human agent, who replies to the end-user via the Messenger Platform's Send API within 24 hours. Send API: https://graph.facebook.com/v23.0/{PAGE_ID}/messages 3. The Send API requires the pages_messaging permission. Since end-users typically do not have a role on the application, it is necessary to apply for advanced access permissions for pages_messaging.

- 在 Test and reproduce the functionality of your integration 区域,选择您的Facebook公共主页,根据实际情况复制并编辑以下文本,然后将其粘贴到文本框中。
Step 1. Go to https://{aicc domain}/service-cloud/aicc-web/index/index.html#/login Step 2. Log in using this agent data user: {aicc username} password: {aicc pwd} Step 3. Click accept cookie policy if you first log in Step 4.1 Click start the experience if you first log in Step 4.2 Click Sign In option in the top toolbar Step 5. Verify the status is Idle, if not click in order to change the status to idle. Step 6.1 Send a direct message from Facebook account Step 6.2 Log in to facebook with phoneNO: {fb phoneaccount} password: {fb pwd} Step 6.3 Go to page using this url https://www.facebook.com/profile.php?id={fb pageid} Step 6.4 Select option Message Step 6.5 Send a message Step 7. You can receive that message in AICC GUI and interact using FB message. Step 8. Interact from facebook message page and from application.

- 单击“Upload file”上传前提条件中的准备好的小视频,即演示如何向您的Facebook公共主页发送消息以及消息如何在AICC系统上接收和回复的录屏。

- 勾选复选框以确认您将遵守允许的使用条款,然后单击“Save”。

- 单击“How will this app use pages_messaging?”。
- 完成以下任务来说明为什么需要具有高级访问权限的Business Asset User Profile Access权限以及应用程序如何使用它。
- 单击“How will this app use Business asset user profile access?”。

- 将以下文本复制并粘贴到详细描述框中,文本内容仅为推荐示例,您可以自行修改。
Facebook is the world's largest social media platform and a crucial component of AICC's digital channels. Through the digital channel access services provided by the {XX Organization} customer service system, end-users can engage in convenient, private, timely, and efficient text conversations with agents via Facebook, thereby enhancing user satisfaction with {XX Organization}. {XX Organization} serves global customers and aims to enable any customer to consult with human agents via Facebook at any time, efficiently resolving customer issues. 1. The {XX Organization} customer service system leverages the open capabilities of the Messenger Platform to facilitate text conversations between human agents and Facebook end-users. 2. When a Facebook end-user sends a message to the public page via Messenger, the application's Webhook pushes the message to the {XX Organization} customer service system, which then assigns the message to a human agent. 3. To better and more quickly identify customers and provide personalized services, the {XX Organization} customer service system needs to obtain the end-user's nickname and profile picture information through the Messenger Platform's User Profile API. The system does not store the end-user's nickname and profile picture information; it only queries and displays this information during the text conversation service. User Profile API: https://graph.facebook.com/<PSID>?fields=first_name,last_name,profile_pic 4. The User Profile API requires Business Asset User Profile Access permissions. Since end-users typically do not have a role on the application, it is necessary to apply for advanced Business Asset User Profile Access permissions.

- 单击“Upload file”上传前提条件中的准备好的小视频,即演示如何向您的Facebook公共主页发送消息以及消息如何在AICC系统上接收和回复的录屏。
也就是上传之前申请pages_messaging权限已经上传的小视频。

- 勾选复选框以确认您将遵守允许的使用条款,然后单击“Save”。

- 单击“How will this app use Business asset user profile access?”。
- 在页面底部,单击“Submit for Review”并输入密码以确认操作。
操作步骤(企业认证)
企业认证是一个允许Facebook侧核实您作为企业实体身份的过程。若应用需申请高级权限访问,或允许其他企业访问其自身数据,则该应用必须关联至已完成企业验证的企业。在完成认证前,来自其他企业的应用用户将无法被授予相关权限,且所有功能均处于未激活状态。
企业认证的具体操作步骤,请参见Facebook官方指导:https://developers.facebook.com/docs/development/release/business-verification。



