【发布时间】:2019-07-25 01:26:01
【问题描述】:
我想通过 web_url 中定义的 HTML 页面发送带有 payload:My Message 的 type:postback。我有这些代码:
{
"title": "Open Hello World Popup",
"type": "web_url",
"url": "https://xxxxxxxx.xxxxxx.xxxxx/testpage.html",
"webview_height_ratio": "tall",
"webview_share_button": "hide",
"messenger_extensions": true
},
{
"title": "Send Hello World!",
"type": "postback",
"payload": "SEND_HELLO_WORLD"
},
如何从我的 testpage.html 中定义的链接或按钮发送带有消息负载的回发
<h1>Test Page</h1>
<a href="POSTBACK_SEND_HELLO_WORLD???">Send Hello World!</a>
这可能吗?
【问题讨论】:
标签: menu facebook-messenger facebook-messenger-bot