geduldig / TwitterAPI

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

Advanced search, how to filter out tweets with more than 100 likes #174

Closed stjianbin closed 3 years ago

stjianbin commented 3 years ago

how to filter out tweets with more than 100 likes,Which API do I need to use

geduldig commented 3 years ago

You could use this: developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets It will return followers_count, and you can throw out the tweets with too few followers.