When you enter a URL into a tweet, Twitter uses their own in house URL shortener on the t.co domain to turn it into something smaller and track usage.

My site has recently been Tweeted by somebody popular (several thousand extra hits in one day) and it appears the referrer for this influx is a t.co URL.

How can I find what Tweet contained that URL?

Searching for the URL or it's parts on both Twitter and Google have turned up nothing.

  • Check this and this StackOverflow questions.
    – Alex
    Oct 3 '12 at 8:19

You should be able to find referencing Tweets by using the Search API: http://search.twitter.com/search.json?q=http%3A%2F%2Ft.co%2F7ADgb2YI

Note that the search API will only return Tweets up to 6-9 days old, so you'll only get recent results using this approach.

(An answer by Arne Roomann-Kurrik (@kurrik), Developer Advocate at Twitter, on Twitter Dev forums.)


  • 3
    This is unfortunately outdated now as the API is no longer active.
    – Pekka
    Feb 3 '14 at 13:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.