New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Error in UsersLookup #549

Closed
skilfullycurled opened this Issue Mar 2, 2018 · 4 comments

Comments

Projects
None yet
2 participants
@skilfullycurled

skilfullycurled commented Mar 2, 2018

Documentation for UsersLookup states:

user_id (int, list, optional) – A list of user_ids to retrieve extended information. 
screen_name (str, optional) – A list of screen_names to retrieve extended information.

However, I think both the user_id and screen_name parameters need to be lists.

user_id (int, list, optional) – A list of user_ids to retrieve extended information. 
screen_name (str, list, optional) – A list of screen_names to retrieve extended information.

I think the API may have once been a long comma separated string, but that doesn't appear to be working for me where as a list of strings does.

@jeremylow jeremylow closed this in b9442e2 Mar 2, 2018

@jeremylow

This comment has been minimized.

Collaborator

jeremylow commented Mar 2, 2018

This was just recently changed. It should work for strings and lists. Thanks for catching that.

@skilfullycurled

This comment has been minimized.

skilfullycurled commented Mar 2, 2018

No problem!

Do you mean it should work with a string of a single username or a list of usernames, or that it should also work for a string of usernames ('user_one,user_two,user_three,...'?) When I try the latter, it splits the string into letters and returns the Users who have accounts for the unique set of letters ('e', 'h', ',', 'o', 'n', 's', 'r', 'u', 't', 'w', '_').

@jeremylow

This comment has been minimized.

Collaborator

jeremylow commented Mar 2, 2018

@skilfullycurled

This comment has been minimized.

skilfullycurled commented Mar 2, 2018

Ahhhhhhhhh. I see now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment