Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Not getting all the tweets. #97

@greencoder88

Description

@greencoder88

I'm trying to get tweets from multiple Twitter accounts during a given time period. I'm only getting a fraction of the tweets that I know are going out of the three accounts in a given period. Below is the code, what am I doing wrong, or what should be changed?

=================================

accounts = ['XXX','XXX','XXX']
for screenname in accounts:
tweetCriteria = got.manager.TweetCriteria().setUsername(screenname)
.setSince("2020-09-01")
.setSince("2020-09-16")
allTweets = got.manager.TweetManager.getTweets(tweetCriteria)
for tweet in allTweets:
print (tweet.date,tweet.permalink,tweet.text)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions