Twitter search operators, how include only tweets with videos, images or links?


#1

twitter search operators, how include only tweets with videos, images or links?
I develop a Favorite Twitter Searches Android App which saves twitter search urls, and when you click a favorite (saved) you open browser in twitter search …

http://search.twitter.com/search?q=


#2

There’s no way to specify that you’re just looking for videos or images, but you can use filter:links as part of your query and using that in tandem with include_entities=true you’ll have [node:7289] from which to understand which are images, videos, and so on.


#3

what you mean by: Entities? I use

from:google since:2012-01-31

what to add for videos or images or links?


#4

Use this for your query for starters: “from:google since:2012-01-31 filter:links” but append an include_entities=true parameter to your query URL like so: “https://search.twitter.com/search.json?q=from%3Agoogle%20since%3A2012-01-31%20filter%3Alinks&include_entities=true

This will give you search results with links. Then it’s up to you to determine which are interesting pieces of media to you. You can do this by examining the response JSON of the query and looking at the entities node. pic.twitter.com images will also have a media node. You’ll need to do the mapping of other image and video services to the links that represent them yourself.


#5

seems somewhat complicated, are you mean(?) by the simpler way, for: videos or images or links, the:

https://search.twitter.com/search.json?q=from%3Agoogle%20since%3A2012-01-31%20filter%3Alinks&include_entities=true
https://search.twitter.com/search.json?q=from%3Agoogle%20since%3A2012-01-31%20filter%3Aimages&include_entities=true
https://search.twitter.com/search.json?q=from%3Agoogle%20since%3A2012-01-31%20filter%3Avideos&include_entities=true

// I just need to do 4 radios buttons: none, links, images, and videos, (just append to query) can be as above as simple?


#6