**Description** The Facebook provider throws `Undefined array key "host"` when the `cpTrigger` is not set (when Craft is in headless mode). Caused by this line in `SocialPosterHelper.php:25` ```php $redirectUri = str_replace(Craft::$app->getConfig()->getGeneral()->cpTrigger . '/', '', $redirectUri); ``` https://github.com/verbb/social-poster/blob/craft-3/src/helpers/SocialPosterHelper.php#L25