Facebook Messenger bot错误不存在的字段(消息) [英] Facebook messenger bot error nonexisting field (messages)
问题描述
我是新成员.
使用HTTP Post向"graph.facebook.com/v2.11/me/messages?access_token=MY_PAGE_TOKEN"发送消息时出现错误
这是错误返回:
`{"error":{"message":"(#100) Tried accessing nonexisting field (messages) on node type (Page)","type":"OAuthException","code":100,"fbtrace_id":"EB39Xkxnf6O"}}`
尽管有错误,测试人员和开发人员仍然能够接收消息.但是FB查看器可能不会,他们也不会批准我的评论提交: 当我们向您的专页发送消息时,我们没有收到自动回复.机器人应在30秒内回复用户的所有输入,以使体验像持续的对话.请确保您的体验能正常运行,然后再重新提交." >
服务器尝试响应时,日志与FB查看器显示相同的错误.
任何帮助.非常感谢
如文档所述,您需要在消息之前提交{conversation-id}.
更多信息此处 >
I am a new member.
I have an error when send message using HTTP Post to "graph.facebook.com/v2.11/me/messages?access_token=MY_PAGE_TOKEN"
This is error return:
`{"error":{"message":"(#100) Tried accessing nonexisting field (messages) on node type (Page)","type":"OAuthException","code":100,"fbtrace_id":"EB39Xkxnf6O"}}`
Despite error, tester and developer still able to receive message. But the FB viewer might not and they not approve my review submission: "We did not receive an automated response when we messaged your Page. Bots should respond to all input from the user within 30 seconds so that the experience feels like a continuous conversation. Please ensure that your experience is functional before you resubmit."
The log show same error with FB viewer when server trying to response.
Any help. Thanks a lot
As the documentation explains you are required to submit a {conversation-id} before the messages.
More info here
这篇关于Facebook Messenger bot错误不存在的字段(消息)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!