Why is the `protected` attribute only on a `User` and not on a `Tweet`?


#1

I find this rather annoying. It looks like I need to grab the entire User object to find out if a Tweet on someone’s timeline was protected or public.

This seems like a potential waste of bandwidth – the User objects are rather large , and often seems to be larger than tweet’s core data itself.

There doesn’t seem to be a way to optimize this with requests either. in pseudocode…

tweets = get_home_timeline_without_users( ) # someone could turn an account from Private to Public, or vice-versa authors = get_authors( tweed.author_id for tweet in tweets )

has anyone dealt with this before ? do you just slurp the whole user object ?