]> git.mxchange.org Git - friendica.git/commitdiff
API: Supporting twidere
authorMichael Vogel <icarus@dabo.de>
Fri, 27 Dec 2013 00:48:43 +0000 (01:48 +0100)
committerMichael Vogel <icarus@dabo.de>
Fri, 27 Dec 2013 00:48:43 +0000 (01:48 +0100)
include/api.php

index f133d2ad678710a49348cbb6e822f7c2a49cf490..72c65f35d089b550a99c83e975d476231c269262 100644 (file)
                                        '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"],
                        '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),