Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Documentation: Error in UsersLookup #549

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

Documentation: Error in UsersLookup #549

skilfullycurled opened this issue Mar 2, 2018 · 4 comments

Comments

@skilfullycurled
Copy link

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
Copy link
Collaborator

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

@skilfullycurled
Copy link
Author

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
Copy link
Collaborator

jeremylow commented Mar 2, 2018 via email

@skilfullycurled
Copy link
Author

Ahhhhhhhhh. I see now. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants