8000 Use POST for `users/lookup`, fix #83 · redaxeprogrammers/codebird-php@d93329f · GitHub
[go: up one dir, main page]

Skip to content

Commit d93329f

Browse files
committed
Use POST for users/lookup, fix jublo#83
Parameter list may get too large for GET when sending 100 user IDs or screen names
1 parent a2b71ca commit d93329f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codebird.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ public function getApiMethods()
302302
'account/verify_credentials',
303303
'blocks/list',
304304
'blocks/ids',
305-
'users/lookup',
306305
'users/show',
307306
'users/search',
308307
'users/contributees',
@@ -407,6 +406,7 @@ public function getApiMethods()
407406
'account/update_profile_image',
408407
'blocks/create',
409408
'blocks/destroy',
409+
'users/lookup',
410410
'account/update_profile_banner',
411411
'account/remove_profile_banner',
412412
'mutes/users/create',

0 commit comments

Comments
 (0)
0