简体   繁体   中英

Past tweets using tweepy api

I'm using tweepy API in spyder to get past tweets. I'm using search method and passing parameters like query item, count, max_id and since_id but getting tweets not more than 1 week. But I want tweets from past one year. Is there any API for this.

My python version is 3.5 and spyder version is 3.5.6

Thanks in Advance!!

You cannot use the twitter API to collect tweets older than one week as discussed here on another stack overflow question. You would need to used Twitters advanced search and scrape the page. Various methods are discussed in the link i posted.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM