geduldig / TwitterAPI

Minimal python wrapper for Twitter's REST and Streaming APIs
936 stars 263 forks source link

How to view all tweets and replies of a user #181

Closed stjianbin closed 3 years ago

stjianbin commented 3 years ago

What api can be used to achieve this function? Help me Thanks

geduldig commented 3 years ago

You should start by looking at the Twitter API docs here. Then decide if you want to use v1.1 or v2 of the API.

v1.1 user timelines v2 user timelines

Either will return a maximum of 3200 tweets. If that is not enough you must use Premium v1.1.

stjianbin commented 3 years ago

Thanks, it's worth

stjianbin commented 3 years ago

Another question, in the returned data, does Twitter have any comment data?

stjianbin commented 3 years ago

How to get the comment data in tweets

geduldig commented 3 years ago

What is "comment data"? There is nothing by this name. First, read the docs. They specify exactly what is returned.

stjianbin commented 3 years ago

image

reply data

geduldig commented 3 years ago

Replies come with the user timeline. Did you look at the documentation?