我在fb聊天机器人和使用回发在通用模板按钮。但是,单击回发按钮后没有响应。在
"buttons": [
{
"type": "web_url",
"url": "https://maps.google.com/?q={lat},{lon}".format(lat=store['coordinates']['lat'], lon=store['coordinates']['lon']),
"title": u"店家位置"
},
{
"type": "postback",
"payload": Function.sendGourmetComments + "_{id}".format(id=store["id"]),
"title": u"觀看評論"
},
{
"type": "postback",
"payload": Function.sendStoreHearts + "_{upload}".format(upload=None) + "_{id}".format(id=store["id"]) + "_{push}".format(push=None) + "_{edit}".format(edit=None) + "_{search}".format(search=True),
"title": u"撰寫評論"
}
]
我想我没有检查消息回传事件,但是,我检查了。我甚至没有收到我的webhook的任何回应。所以对我来说这有点神秘。在
它以前工作得很好,但是重新启动计算机后就不能正常工作了。我使用ngork将我的服务器API公开为回调url。在
我两天前就有这个问题。 您需要facebook批准的页面才能接收它Facebook's approved page_messaging permission
相关问题 更多 >
编程相关推荐