From: Michael Date: Tue, 22 Jun 2021 15:00:59 +0000 (+0000) Subject: Fill the header field of the contact with the twitter banner X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b4839e8a37667330751140ded733f8cb1378ac69;p=friendica-addons.git Fill the header field of the contact with the twitter banner --- diff --git a/twitter/twitter.php b/twitter/twitter.php index d6867e73..e972d692 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1217,6 +1217,7 @@ function twitter_user_to_contact($data) 'location' => $data->location, 'about' => $data->description, 'photo' => twitter_fix_avatar($data->profile_image_url_https), + 'header' => $data->profile_banner_url ?? $data->profile_background_image_url_https, ]; return $fields;