You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to do user-look up by screen_name, when I use a screen name that is not registered in twitter it throws attribute error. example trial goes below:
users = api.UsersLookup(screen_name=["dude_whats_up_is_your_name"])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "twitter.py", line 3049, in UsersLookup
return [User.NewFromJsonDict(u) for u in data]
File "twitter.py", line 1340, in NewFromJsonDict
return User(id=data.get('id', None),
AttributeError: 'unicode' object has no attribute 'get'
I'm not sure if this is a design decision or a issue, please close it if it's done deliberately, otherwise I think it helps.
The text was updated successfully, but these errors were encountered:
Api.UserLookUp() throws attribute error when corresponding screen_name is not found
bear/python-twitter#5
Merge pull request #5 from thefinn93/master
Setup.py crashes because the README file is now named README.md
Update .gitignore to add the PyCharm data directory
I'm trying to do user-look up by screen_name, when I use a screen name that is not registered in twitter it throws attribute error. example trial goes below:
I'm not sure if this is a design decision or a issue, please close it if it's done deliberately, otherwise I think it helps.
The text was updated successfully, but these errors were encountered: