Facebook的Dialogflow自定义有效负载响应未响应

时间:2018-12-06 03:17:27

标签: dialogflow dialogflow-fulfillment

我正在测试dialogflow和facebook之间的集成。我无法让客户的负载响应显示在Messenger中。仅显示默认响应。我找不到我做错事情的任何指示。任何帮助深表感谢。显示我正在使用的自定义有效负载

{
  "facebook": {
    "attachment": {
      "type": "template",
      "payload": {
        "template_type": "generic",
        "elements": [
          {
            "title": "Your first payload",
            "image_url": "http://www.netmarketing.company/Market/wp-content/uploads/2017/04/electrodomesticos-1.jpg",
            "itle": "BIENVENIDO",
            "default_action": {
              "type": "web_url",
              "url": "http://www.netmarketing.company"
            },
            "buttons": [
              {
                "type": "web_url",
                "url": "http://www.netmarketing.company/Market/alimentos/",
                "title": "ALIMENTOS"
              },
              {
                "type": "web_url",
                "url": "http://www.netmarketing.company/Market/rvg/",
                "title": "AUTOMOVILES"
              },
              {
                "type": "web_url",
                "url": "http://www.netmarketing.company/Market/muebles-hogar/",
                "title": "MUEBLES HOGAR"
              }
            ]
          }
        ]
      }
    }
  }
}

0 个答案:

没有答案