Hello everyone,
I see a lot of people struggling with sending generic templates such as carousels to Facebook channel.
Has anyone successfully done this before?
Here’s what I’m trying to send:
def run(self, dispatcher, tracker, domain):
elements = {
"title": "Name",
"image_url": "https://website.com/c981291c4cd0.png",
"subtitle": "Mayor of Beirut.",
"default_action": {
"type": "web_url",
"url": "https://website.com",
"webview_height_ratio": "tall"
},
"buttons": [
{
"title": "View Full Profile",
"type": "web_url",
"url": "https://website.com"
},
]
}
dispatcher.utter_custom_json(elements)
return[]
However, I’m not receiving anything in the chat on Facebook.
I would appreciate every help and input.
Regards.