chatbotfacebook-messenger-botamazon-lex

How to make response card buttons working in facebook chat for Lex?


I have configured response cards for prompt message on Lex console, I am able to get the card on messenger as well but when I click on any button it's not working. It sends the value attached to the button, but I get no response. If I enter the response manually then I get the results immediately. Do we need to configure something else to get buttons in the response cards working?

enter image description here


Solution

  • I got it working by checking/ticking the "messaging_postbacks" events in the Webhooks in messenger settings in the Facebook app.

    enter image description here