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…
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..
New solution:
You can use the api method get-tweet-search from Twitters api. To find tweets containing an url you have to pass the parameter
q="url:stackoverflow.com". Unfortunately you must have an access token to do this call.More info how to use Twitters search operators can be found at https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators.
This answer is now soon 8 years old. Twitter have changed their api since.
Old answer:
Hope this might be to any help.
Read the Documentation Here