Comments (11)
I gave up.
from driver-slack.
I had a similar problem, solved updating opis/closure
https://packagist.org/packages/opis/closure
from driver-slack.
Do a composer update in your project, it will update all the depencies, after that it will work correctly
from driver-slack.
Any chance someone found workaround for this?
from driver-slack.
I'm having the same issue, has someone by any chance found the reason?
from driver-slack.
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.
from driver-slack.
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...
from driver-slack.
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
from driver-slack.
from driver-slack.
I just realized that I was already running opis 3.6 on server with php7. 4 π
I had another server with php7. 2 in this one buttons worked fine.
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.
Still have to check why, hope it gives a clue....
from driver-slack.
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 buildPayload
method with your own and simply do the following...
```$payloadData = stripslashes( $request->request->get('payload' ) );
$payloadData = json_decode( $payloadData, true );```
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.
from driver-slack.
Related Issues (20)
- Support later botman version? HOT 1
- Composer dependencies issues HOT 6
- slack does not connect to botman on localhost HOT 1
- replyInThread isn't working
- Bot not responding to mentions in channels HOT 2
- Can't seem to get response from bot reply with SlackRTM
- Command Parameters is null for interactive request from slack
- audio, video and generic file support
- getBotUserId() returns NULL HOT 1
- botman:listen-on-slack throwing Could not connect to Slack API: Not allowed token type HOT 4
- Not getting replies HOT 1
- laravel 7 support HOT 1
- remove echo to stdout in Factory.php
- Multiple reply in slack bot HOT 1
- Laravel 8 support? HOT 2
- Composer 2 Support? HOT 1
- Add support for reactions HOT 1
- Issue with PHP8.0+
- Web API method rtm.start retired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from driver-slack.