python-twitter icon indicating copy to clipboard operation
python-twitter copied to clipboard

Possible bug in UsersLookup

Open Amardeep-Singh opened this issue 7 years ago • 0 comments

UsersLookup method only takes list as argument when user_id is used as an option.

api.UsersLookup(user_id=[integer],include_entities=True,return_json=True) works however api.UsersLookup(user_id=integer,include_entities=True,return_json=True) throws error ;

TypeError: 'int' object is not iterable

This behavior cannot be seen when screen_name is used as an argument, it accepts a string as well as a list as an argument.

Amardeep-Singh avatar Mar 26 '19 15:03 Amardeep-Singh