Hi - if you want to have full control over what is displayed in Messenger (beyond the limited controls that Facebook offers, like quick responses and carousels), then you can try to use webview. This allows you to display an HTML page (with some limitations) in the context of Messenger. This article Using Facebook Messenger Webview with a Rasa chatbot | by Mark Ryan | The Startup | Medium describes an end-to-end example of a Rasa chatbot that uses webview to display content in Messenger. The article links to a repo with the code for the example described in the article: GitHub - ryanmark1867/webview_rasa_example: example of using Rasa with Facebook Messenger webview. Some cautions (1) I haven’t run this code for over a year, so there may be regressions in the Rasa or Facebook platforms that were introduced since I last ran it, (2) you need to get the for-pay subscription to ngrok for this implementation to work - I wasn’t able to find an alternative that provided the https URLs that Facebook insists on (3) even this “hello world” example is not simple - see the diagram in the middle of the article
ryanmark
(Mark Ryan)
13
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Integration rasa chatbot in facebook messenger | 1 | 716 | September 3, 2020 | |
| Buttons issue in Facebook messenger | 2 | 618 | June 12, 2019 | |
| How to define utter_template, can show quick reply on facebook | 12 | 4807 | September 21, 2020 | |
| Limited number of buttons in chat messenger | 7 | 1003 | September 24, 2018 | |
| How can we show dynamic list more than 4 items in utter_button_template in action.py | 2 | 1395 | August 23, 2019 |
