PHP 7.1
Botman installed with BotMan Studio
"botman/driver-facebook": "^1.3",
Hello, I'm having problems with my bot. (Facebook).
I was not able to validate though I read https://github.com/botman/botman/issues/593 and changed the verifyRequest method to echo $ request->get('hub_challenge'); and I was able to validate.
PHP 7.1 Botman installed with BotMan Studio "botman/driver-facebook": "^1.3",
Hello, I'm having problems with my bot. (Facebook). I was not able to validate though I read https://github.com/botman/botman/issues/593 and changed the verifyRequest method to echo $ request->get('hub_challenge'); and I was able to validate.
However the return log \Log::info('verification:'.$request->get('token'). 'hub_mode:'.$request->get('hub_mode').' - hub_verify_token: ' . $request->get('hub_verify_token') );
log laravel [2017-11-15 21:17:26] local.INFO: verification:hub_mode:subscribe - hub_verify_token: [2017-11-15 21:18:53] local.INFO: verification:hub_mode:subscribe - hub_verify_token:
it is always empty. I do not know if this can have any relation, but my bot does not respond
Test with web bot tinker is working
routes/botman.php ############################ <?php use App\Http\Controllers\BotManController;
$botman = resolve('botman');
$botman->hears('Hi', function ($bot) { $bot->reply('Hello!'); });
$botman->hears('Start conversation', BotManController::class.'@startConversation');
############################## Thanks for the help.