REST API v1
I'm currently using the streaming API to track tweets with a specific hashtag but is it possible to filter them even more to only include tweets with links? I tried adding "filter:links" like in the search api but it didn't return anything even though when I search "#myhashtag filter:links" in the twitter website it does return new tweets.
The Streaming API doesn't support filters like the Search API. Sometimes it's easier to discard what you're not interested in, but you can emulate a little bit of this functionality by modifying your query to include http -- such as "#myhashtag http" AKA "%23myhashtag%20http"
Thanks for the response, that's how I'm handling it now and so far it's been working great
hmm. Would this work for shortened urls as well? I tried the following:
curl -d 'track=%23myhashtag%20http' https://stream.twitter.com/1/statuses/filter.json -u nothing for me.
Am I missing anything here? How about https? thanks.
I've tried the technique you mentioned (tracking "%23myhahstag") but it seems nothing is returned, while tracking "myhashtag" results in many hits including ones with #myhashtag in the text.
I see it's been a while, is your recommendation still valid or has something changed on the backend?
This topic is now closed. New replies are no longer allowed.