botman / driver-facebook

BotMan Facebook Messenger Driver
MIT License
71 stars 73 forks source link

Webhook Url verification is returning with additional string #116

Open jearsonbgomez opened 3 years ago

jearsonbgomez commented 3 years ago

I am trying to verify my webhook url, however I am getting webhook_validation_error Here is my code:

$config = [

   'facebook' => [
          'token' => 'page-token',
                'app_secret' => 'app-secret',
                'verification' => env('VERIFY_TOKEN')
     ]

 ];

   DriverManager::loadDriver(FacebookDriver::class);

   $botman = BotManFactory::create($config);   

   $botman->listen();

As noticed aboved I am getting additonal string added on the hub_challenge request. How will I able to solved this problem?