API: Supporting twidere
This commit is contained in:
parent
a0360ec976
commit
a96d6f835c
1 changed files with 5 additions and 2 deletions
|
@ -331,16 +331,18 @@
|
||||||
'location' => NULL,
|
'location' => NULL,
|
||||||
'description' => NULL,
|
'description' => NULL,
|
||||||
'profile_image_url' => $r[0]["avatar"],
|
'profile_image_url' => $r[0]["avatar"],
|
||||||
|
'profile_image_url_https' => $r[0]["avatar"],
|
||||||
'url' => $r[0]["url"],
|
'url' => $r[0]["url"],
|
||||||
'protected' => false,
|
'protected' => false,
|
||||||
'followers_count' => 0,
|
'followers_count' => 0,
|
||||||
'friends_count' => 0,
|
'friends_count' => 0,
|
||||||
'created_at' => '',
|
'created_at' => api_date(0),
|
||||||
'favourites_count' => 0,
|
'favourites_count' => 0,
|
||||||
'utc_offset' => 0,
|
'utc_offset' => 0,
|
||||||
'time_zone' => 'UTC',
|
'time_zone' => 'UTC',
|
||||||
'statuses_count' => 0,
|
'statuses_count' => 0,
|
||||||
'following' => 1,
|
'following' => false,
|
||||||
|
'verified' => false,
|
||||||
'statusnet_blocking' => false,
|
'statusnet_blocking' => false,
|
||||||
'notifications' => false,
|
'notifications' => false,
|
||||||
'statusnet_profile_url' => $r[0]["url"],
|
'statusnet_profile_url' => $r[0]["url"],
|
||||||
|
@ -430,6 +432,7 @@
|
||||||
'location' => ($usr) ? $usr[0]['default-location'] : NULL,
|
'location' => ($usr) ? $usr[0]['default-location'] : NULL,
|
||||||
'description' => (($profile) ? $profile[0]['pdesc'] : NULL),
|
'description' => (($profile) ? $profile[0]['pdesc'] : NULL),
|
||||||
'profile_image_url' => $uinfo[0]['micro'],
|
'profile_image_url' => $uinfo[0]['micro'],
|
||||||
|
'profile_image_url_https' => $uinfo[0]['micro'],
|
||||||
'url' => $uinfo[0]['url'],
|
'url' => $uinfo[0]['url'],
|
||||||
'protected' => false,
|
'protected' => false,
|
||||||
'followers_count' => intval($countfollowers),
|
'followers_count' => intval($countfollowers),
|
||||||
|
|
Loading…
Reference in a new issue