Override config
- Dominant language
- PHP
- Stars
- 332
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
I'm working on an app, where a user can create bots for facebook. That in turn requires config (app_secret, token and verification) to be dynamic and not set in config/botman/facebook.php.
So question is:
**If I use botman studio, can I set configuration and credentials dynamically?**
So OK, maybe I shouldn't have chosen exactly "botman studio", but it was a while ago.
I tried
`
DriverManager::loadDriver(\BotMan\Drivers\Facebook\FacebookDriver::class);
$botman = BotManFactory::create([
'token' => $x,
'app_secret' => $y,
'verification'=> $z,
]);
`
but it doesn't work. in the log I found that token=null in the sent request
What did work though was setting credentials in the config and just `$botman = resolve('botman');`
I did that to eliminate the possibility that I messed up the integration part, or that I misunderstood about some token or something.
Thank you for your app and the whole infrastructure though, my work would not be possible without it in the first place
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.