get_user_tweets api may return only result_count(result_count=0). In those cases newest_id and oldest_id are None.
E.g. send a get_user_tweets request with until_id set to the user's first tweet.
In those cases decoding errors with the TweetsMeta happens.
error decoding response body: missing field newest_id at line 1 column 26"
Changing newest_id and oldest_id Option fixes the issue.
get_user_tweets api may return only result_count(result_count=0). In those cases
newest_id
andoldest_id
are None. E.g. send aget_user_tweets
request withuntil_id
set to the user's first tweet.In those cases decoding errors with the TweetsMeta happens.
error decoding response body: missing field newest_id at line 1 column 26"
Changing newest_id and oldest_id Option fixes the issue.