-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interactive Message buttons not working #50
Comments
Any chance someone found workaround for this? |
I gave up. |
I'm having the same issue, has someone by any chance found the reason? |
Hi, not sure about the slack driver but I had the same problem when testing locally using ngrok. I hosted on heroku and now the buttons are working fine. |
I had a similar problem, solved updating opis/closure |
This is a real issue - what is the point of asking questions when you can't click the answers and get a reply? Or maybe we are missing something... |
It works up to php 7.2.33 |
I am using pho 7.4.8
Opus/closure 3.6 (latest)
Botman can’t recognise button clicks still
On 22 Oct 2020, at 18:16, Evi444 <[email protected]> wrote:
It works up to php 7.2.33
Read they are working on a new version, mean while try updating opis/closure.
I got it working with php 7.4
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I just realized that I was already running opis 3.6 on server with php7. 4 🙄 It was after copying files from 7.2 to 7.4 server and trying to update with composer that buttons started working on new version. |
Do a composer update in your project, it will update all the depencies, after that it will work correctly |
I know this is super late to this issue. But when I came across this earlier today playing around with the library, what I ended up doing was creating a new custom driver that extended the slack driver. Override the
The reason why it's failing is that the data passed from Slack is escaped in the send so json_decode can't read is properly and will return NULL by default unless the slashes are removed. Once doing that it works as intended. |
Hello There,
I'm having some issues with interactive buttons in a conversation.
I have copied everything relevant from botman studio and everything is working with the exception of buttons and menu list interactions.
When i click a button, i get by fallback message '' Sorry i don't understand that command " As apposed to responding with a joke or quote.
I'm sure i'm missing a configuration or something, but I can't for the life of me figure out what the issue is.
route/botman.php
Botman controller
Example conversation
The text was updated successfully, but these errors were encountered: