botman / botman/driver-facebook
Webhook Url verification is returning with additional string
- Dominant language
- PHP
- Stars
- 71
- Forks
- 72
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to verify my webhook url, however I am getting
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?
Contributor guide
Research direction
Reproduce the webhook verification request using the PHP configuration shown and inspect FacebookDriver's handling of the hub_challenge response. Confirm the expected response format and identify why an additional string is returned; done means the verification response contains only the required challenge value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100