Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

abdounovich's avatar

deploy messenger chatbot made with botman studio to heroku

can any one help me please to deploy my botman messnger chat bot on heroku because it works fine on localhost but i receive nothing when i add the URL webhook from heroko (mylinkOnHeroku/botman)

0 likes
1 reply
raphyabak's avatar

You can solve it by editing the src/Botman.php file in the vendor from

 if (call_user_func_array($callback, $parameters))

to

if (call_user_func_array($callback, array_values($parameters)))

Please or to participate in this conversation.