8000 Add friends/list, followers/list API methods · UltraSimplified/codebird-php@1cdbacc · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cdbacc

Browse files
committed
Add friends/list, followers/list API methods
1 parent 040ca36 commit 1cdbacc

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

codebird.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ private function _detectMethod($method, $params)
467467
'friendships/incoming',
468468
'friendships/outgoing',
469469
'friendships/show',
470+
'friends/list',
471+
'followers/list',
470472

471473
// Users
472474
'account/settings',
@@ -478,7 +480,6 @@ private function _detectMethod($method, $params)
478480
'users/search',
479481
'users/contributees',
480482
'users/contributors',
481-
'users/recommendations',
482483
'users/profile_banner',
483484

484485
// Suggested Users
@@ -524,7 +525,10 @@ private function _detectMethod($method, $params)
524525
'help/languages',
525526
'help/privacy',
526527
'help/tos',
527-
'application/rate_limit_status'
528+
'application/rate_limit_status',
529+
530+
// Old
531+
'users/recommendations'
528532
);
529533
$httpmethods['POST'] = array(
530534
// Tweets
@@ -549,10 +553,10 @@ private function _detectMethod($method, $params)
549553
'account/update_profile_background_image',
550554
'account/update_profile_colors',
551555
'account/update_profile_image',
552-
'account/remove_profile_banner',
553-
'account/update_profile_banner',
554556
'blocks/create',
555557
'blocks/destroy',
558+
'account/update_profile_banner',
559+
'account/remove_profile_banner',
556560

557561
// Favorites
558562
'favorites/destroy',
@@ -577,7 +581,7 @@ private function _detectMethod($method, $params)
577581
'geo/place',
578582

579583
// Spam Reporting
580-
'report_spam',
584+
'users/report_spam',
581585

582586
// OAuth
583587
'oauth/access_token',

0 commit comments

Comments
 (0)
0