oldtweets icon indicating copy to clipboard operation
oldtweets copied to clipboard

Fix getting the latest tweets in the user timeline

Open nud opened this issue 2 years ago • 0 comments

Commit ea9041dfdff introduced an issue where GetFavourites() was called instead of GetUserTimeline() when latest_tweet_id is not set (so, in other words, the first time).

We also simplify calling GetFavourites() or GetUserTimeline() as the default value for the max_id parameter is None, so it is useless to special-case latest_tweet_id being None.

nud avatar Dec 18 '22 20:12 nud