views:

52

answers:

2

Is there a possibility to search for tweets which link to a specific URL or, even better, domain?

There is already a service doing this, but I can't figure out how to do it myself via the twitter-Api...

http://backtweets.com/api

It seems rather impossible to just collect all tweets which include a URL, expand the URL, save them all and just then look for certain URLs..

+1  A: 

Use search api, with your link in request.

Guillaume Lebourgeois
A: 

Hope this might be to any help.

http://search.twitter.com/search.atom?q=<query>
You can use .atom (xml) and .json. Just remeber to url-encode the string.

Example:
http://search.twitter.com/search.json?q=stackoverflow.com

Read the Documentation Here

hellozimi
ahh, I see why my previous tries did not return any results, because the tweets of my company containing the URL in question were already more than four days old and are currently not taken into consideration when submitting a search. Thanks a lot for the quick answers, then it works as hoped.
Elyrion

related questions