twitter-api-client icon indicating copy to clipboard operation
twitter-api-client copied to clipboard

Cursor bug

Open gingerjx opened this issue 1 year ago • 0 comments

This is my simplified code:

# read data
raw_tweets_data = self.scraper.tweets([data['user_id']], limit=limit, cursor=data['cursor'])
data['cursor'] = get_cursor(raw_tweets_data)
# save data

First scraping works correctly - it scrapes x latest tweets. The oldest tweet I got is let's say 10th October.

Now I run the script again using the cursor that I previously retrieved and saved. I would expect that it would start to retrieve tweets from 10th October and older, however, it retrieves tweets from 7th October and older, skipping the tweets in between - even though the user was posting between 7th-10th October.

Am I using it incorrectly or it is a bug?

gingerjx avatar Nov 03 '23 11:11 gingerjx