8000 user/lookup for 100 user ids · Issue #83 · jublo/codebird-php · GitHub
[go: up one dir, main page]

Skip to content
user/lookup for 100 user ids #83
Closed
@EbanEscott

Description

@EbanEscott

Hi J.M.

How are you? I am well and having some issues with users/lookup. Could I trouble you for some time please.

https://dev.twitter.com/rest/reference/get/users/lookup states we can "100 users per request, as specified by comma-separated values passed to the user_id and/or screen_name parameters". However, when I try do do this through codebird I get:

stdClass::__set_state(array(
'httpstatus' => 200,
'rate' => NULL,
))

It does work correctly for a small number of users like 10 but not a large number like 100. I believe the issue may have to do with the HTTP request being GET instead of POST. In codebird.php on line 302 users/lookup is listed as a GET but on the twitter API it states "You are strongly encouraged to use a POST for larger requests."

I am a little confused as in Codebird readme it states "Never care about which HTTP method (verb) to use when calling a Twitter API. Codebird is intelligent enough to find out on its own." I may be barking up the wrong tree and any advice would be much appreciated.

Thanks
Eban

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0