1

I have a DialogFlow chat bot set up with Facebook integration and I am also using the Customer Chat Plugin. For my chatbot integration I have the bot responding with URL buttons and the webview attributes. This causes the url to load within the facebook messenger phone app or web app.

I was wondering if it's possible to get the same behaviour by using the Customer Chat Plugin mentioned above? As of now when I click the URL_button from the plugin it just redirects me to a different page.

This is how my response looks:

{
  "facebook": {
    "attachment": {
      "type": "template",
      "payload": {
        "template_type": "button",
        "text": "WHATEVER",
        "buttons": [
          {
            "type": "web_url",
            "url": "https:// ANYURL.COM",
            "title": "Full Form"
          }
        ]
      }
    }
  }
}
Cœur
  • 37,241
  • 25
  • 195
  • 267
Elkdor
  • 121
  • 1
  • 12

1 Answers1

3

The customer chat plugin doesn't currently support the webview. If a URL button is clicked, it will load the fallback_url in a separate tab.

amuramoto
  • 2,838
  • 1
  • 11
  • 15