The PageMessages endpoint allows your business to send a message to a customer from your Facebook Page in response to a message received from the customer.
messages
连线发出 POST 请求:参数 | 描述 |
---|---|
message Object | Message data 支持表情符号 |
messaging_type enum {RESPONSE, UPDATE, MESSAGE_TAG, UTILITY} | Messaging type of the message |
notification_type enum {REGULAR, SILENT_PUSH, NO_PUSH} | 默认值: REGULAR Push notification / buzz type |
payload string | payload 支持表情符号 |
persona_id numeric string | The ID of a Persona |
recipient Object | The recipient of the message 必填 |
reply_to Object | reply_to |
sender_action enum {MARK_SEEN, TYPING_ON, TYPING_OFF, REACT, UNREACT} | Actions such as setting / unsetting typing indicators |
tag Message tag | The use case tag of the message to bypass the subscriptions permission check |
thread_control Object | thread_control |
thread_key
: string, recipient_id
: string, message_id
: string, attachment_id
: string, 错误 | 描述 |
---|---|
551 | This person isn't available right now. |
100 | Invalid parameter |
2022 | The ability to send commerce messages has been temporarily disabled for this application. |
190 | Invalid OAuth 2.0 Access Token |
613 | Calls to this api have exceeded the rate limit. |
10903 | This user cant reply to this activity |
368 | The action attempted has been deemed abusive or is otherwise disallowed |
10900 | Activity already replied to |
200 | Permissions error |
10904 | The page has messages disabled in the settings |
messages
连线发出 POST 请求:参数 | 描述 |
---|---|
message Object | Information about the message including the message ID, type, and contents 支持表情符号 |
messaging_type enum {RESPONSE, UPDATE, MESSAGE_TAG, UTILITY} | The type of message you are sending.
|
notification_type enum {REGULAR, SILENT_PUSH, NO_PUSH} | 默认值: REGULAR The type of push notification the customer receives when your message is delivered |
payload string | Payload of the sender action 支持表情符号 |
persona_id numeric string | The ID for your business persona |
recipient Object | The customer receiving your message. An example object is 必填 |
reply_to Object | Information of the specific existing message in the thread that you want to send a reply to. |
sender_action enum {MARK_SEEN, TYPING_ON, TYPING_OFF, REACT, UNREACT} | The action displayed to a customer to let the customer know that you have seen and are processing their message.
|
tag Message tag | A tag to allow your app to send a personalized message to a customer outside the 24-hour messaging window.
Only |
recipient_id
: string, message_id
: string, attachment_id
: string, 错误 | 描述 |
---|---|
551 | This person isn't available right now. |
100 | Invalid parameter |
2022 | The ability to send commerce messages has been temporarily disabled for this application. |
190 | Invalid OAuth 2.0 Access Token |
613 | Calls to this api have exceeded the rate limit. |
10903 | This user cant reply to this activity |
368 | The action attempted has been deemed abusive or is otherwise disallowed |
10900 | Activity already replied to |
200 | Permissions error |
10904 | The page has messages disabled in the settings |
葡萄代表什么生肖hcv8jop8ns2r.cn | 胃镜是什么imcecn.com | tb是什么意思啊baiqunet.com | 纪念什么意思hcv8jop5ns8r.cn | 油皮适合用什么护肤品hcv7jop9ns9r.cn |
金牛和什么星座最配wuhaiwuya.com | 炒菜什么时候放调料hcv9jop8ns3r.cn | 传媒公司是做什么的hcv7jop6ns9r.cn | 大理寺卿是什么职位hcv9jop3ns5r.cn | 什么蛇最厉害hcv9jop6ns6r.cn |
手一直抖是什么原因hcv9jop5ns1r.cn | 支原体感染吃什么药好hcv8jop8ns2r.cn | 嗣后是什么意思hcv8jop8ns3r.cn | 呲牙是什么意思jinxinzhichuang.com | living是什么意思hcv9jop7ns0r.cn |
6.5是什么星座hcv9jop8ns1r.cn | 时来运转是什么生肖hcv9jop2ns6r.cn | 阳历2月份是什么星座hcv8jop3ns9r.cn | 脚气是什么菌引起的hcv8jop8ns4r.cn | 负距离接触是什么意思hcv8jop9ns1r.cn |