$osecret = DI::pConfig()->get($uid, 'twitter', 'oauthsecret');
$lastid = DI::pConfig()->get($uid, 'twitter', 'lastid');
- $application_name = DI::keyValue()->get('twitter_application_name');
+ $application_name = DI::keyValue()->get('twitter_application_name') ?? '';
if ($application_name == '') {
$application_name = DI::baseUrl()->getHostname();
Logger::info('Fetching timeline', ['uid' => $uid]);
- $application_name = DI::keyValue()->get('twitter_application_name');
+ $application_name = DI::keyValue()->get('twitter_application_name') ?? '';
if ($application_name == '') {
$application_name = DI::baseUrl()->getHostname();