1
1
Fork 0

API: Supporting twidere

This commit is contained in:
Michael Vogel 2013-12-27 01:48:43 +01:00
parent a0360ec976
commit a96d6f835c

View file

@ -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),