【问题标题】:Facebook messenger bot Persistent Menu buttonFacebook Messenger bot 持久菜单按钮
【发布时间】:2017-08-17 17:39:01
【问题描述】:

我需要一个不应触发回发的 Facebook Messenger Bot 持久菜单项“发送消息”。而是将光标放在信使文本框上。有没有一种方法可以创建菜单项而无需将菜单项类型设置为“回发”或“web_url”

【问题讨论】:

    标签: facebook


    【解决方案1】:

    创建持久菜单时,“发送消息”菜单项会自动出现在移动设备上。网络上不需要它。

    【讨论】:

    • 就我而言,它没有自动出现。
    【解决方案2】:

    检查来自https://developers.facebook.com/docs/messenger-platform/messenger-profile/persistent-menu的代码

    curl -X POST -H "Content-Type: application/json" -d '{
      "persistent_menu":[
        {
          "locale":"default",
          "composer_input_disabled":true,
          "call_to_actions":[
            {...
    

    将 composer_input_disabled 更改为 false。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-10-26
      • 2017-02-05
      • 2017-06-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多