From a96d6f835ca5325f1d54db8246e900f8bc85bf99 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 27 Dec 2013 01:48:43 +0100 Subject: [PATCH] API: Supporting twidere --- include/api.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/api.php b/include/api.php index f133d2ad67..72c65f35d0 100644 --- a/include/api.php +++ b/include/api.php @@ -331,16 +331,18 @@ 'location' => NULL, 'description' => NULL, 'profile_image_url' => $r[0]["avatar"], + 'profile_image_url_https' => $r[0]["avatar"], 'url' => $r[0]["url"], 'protected' => false, 'followers_count' => 0, 'friends_count' => 0, - 'created_at' => '', + 'created_at' => api_date(0), 'favourites_count' => 0, 'utc_offset' => 0, 'time_zone' => 'UTC', 'statuses_count' => 0, - 'following' => 1, + 'following' => false, + 'verified' => false, 'statusnet_blocking' => false, 'notifications' => false, 'statusnet_profile_url' => $r[0]["url"], @@ -430,6 +432,7 @@ 'location' => ($usr) ? $usr[0]['default-location'] : NULL, 'description' => (($profile) ? $profile[0]['pdesc'] : NULL), 'profile_image_url' => $uinfo[0]['micro'], + 'profile_image_url_https' => $uinfo[0]['micro'], 'url' => $uinfo[0]['url'], 'protected' => false, 'followers_count' => intval($countfollowers), -- 2.39.5