How can I get tweets older than a week (using tweepy or other python libraries)

后端 未结 8 662
予麋鹿
予麋鹿 2020-11-27 02:55

I have been trying to figure this out but this is a really frustrating. I\'m trying to get tweets with a certain hashtag (a great amount of tweets) using Tweepy. But this do

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-27 03:22

    2018 update: Twitter has Premium search APIs that can return results from the beginning of time (2006):

    https://developer.twitter.com/en/docs/tweets/search/overview/premium#ProductPackages

    Search Tweets: 30-day endpoint → provides Tweets from the previous 30 days.

    Search Tweets: Full-archive endpoint → provides complete and instant access to Tweets dating all the way back to the first Tweet in March 2006.

    With an example Python client: https://github.com/twitterdev/search-tweets-python

提交回复
热议问题