Twitter search – finding old stuff

I was helping someone out with finding old stuff on twitter from a particular user. When I say old, I mean beyond the 3,200 limit of a single user’s tweets (that’s how many it stops at when you do that endless scrolling down on a page). I was also interested in searching hashtags used at particular times.

So this is really about searching between particular dates. The advanced Twitter search page doesn’t show how you can search for dates but you can do so by putting the following in your search:

  • from:username since:yyyy-mm-dd until:yyyy-mm-dd

So the url search for @stephenfry’s old tweets would be: https://twitter.com/search?q=from%3Astephenfry%20since%3A2009-10-01%20until%3A2009-12-01&src=typd&f=realtime

Or if you want to find a hashtag, word or phrase between particular dates:

  • #digitalbritain since:yyyy-mm-dd until:yyyy-mm-dd
  • digitalbritain since:yyyy-mm-dd until:yyyy-mm-dd
  • “digital britain” since:yyyy-mm-dd until:yyyy-mm-dd

You can also simply adjust the url instead of using the search box. For example, the urls for the above three searches (for dates from 1st October 2009 and until 1st December 2009):

In the url you should notice that:

  • %23 is a hashtag
  • %20 is a space
  • %3A is a :
  • f=realtime is the same as clicking ‘all’ in the search (gives you everything rather than ‘top’ tweets)

Hope this helps (it serves a reminder for me if nothing else). Welcome additions/corrections in the comments