I’m working on Facebook integration with RASA.
It’s working fine as normal for request and response by typing.
As further, I start to put some button and other facebook generic templates to replace the typing.
I’m able to display the response in messenger with click button.
But as I try to click the button, it has no effect to bots. I also check the logs but nothing happen.
It’s a postback type button, and payload is one of my intent.
No matter how many click on button it still not working, but if I type, it work as normal.
Hm okay yes this is strange. Are you hooked up to ngrok – if so, can you see the button click coming into the webhook?
Also, this shouldn’t fix the problem, but just letting you know that your payload should acutally be “/affirm” instead of “affirm” if you want it to map directly to the intent.
Can you let me know if the same error happens if you define buttons from your utterance templates? I’m wondering if this issue is affecting buttons, custom json payloads, and elements all together.
It has been too long since the question but for ones come this post laterly. One cause that makes postback button can’t work is you have not subscribed necessary field ( in Facebook app dashboard → Messenger → Settings)