How far back can you go back with the Twitter API

北城以北 提交于 2019-12-11 01:35:38

问题


I have developed a application in c# that fetches in tweets to a database. I'm currently using TweetSharp Wrapper.

Since it has recently been announced that twitter now have indexed all of the previous tweets, which allows you to go back to the very first tweets, i started to wonder if it's possible to go back to a certain time period.

Lets say i want to see all tweets that contains "Microsoft" from the time period 2008-10-10 to 2009-10-10. Is this possible for the Twitter API??? Let alone is it possible with the TweetSharp module??

Any answer is accepted.

thanks!


回答1:


My assumptions are that you are using the free version of the Twitter REST API (there are also Twitter Streaming APIs that I have no experience with) and that TweetSharp is just a wrapper over the REST API.

Given that, I'm inclined to think that the query you are requesting ("microsoft since:2008-10-10 until:2009-10-10") is not possible for a few reasons:

  • Searching with the Twitter REST API only goes back 7 days.
  • The number of tweets relating to microsoft tweets in a year will exceed the rate limit

My Source is Adam Green's Blog: 140Dev, Nov 2013. The documentation is a bit vague on exactly how far back the REST API will go. My experiences show that up to the past 7 days. The rate limits are pretty explicitly documented, however.

This answer is a over a month late; if you figured out a way to make this work, do share!



来源:https://stackoverflow.com/questions/27170882/how-far-back-can-you-go-back-with-the-twitter-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!