How to find only tweets with images/media? - image

Is it possible via the new Twitter API (preferably REST API, but I'd be as happy with the Streaming API) to find public tweets from any user containing specific search string and an image (or any other kind of media), without having to later manually filter out tweets without images from the returned data? How can it be done?

Twitter does have an undocumented & unsupported filter:images feature that you can read more about in this question: Get Tweets with Pictures using twitter search api

Related

get profile pictures of all twitter followers

I want to do a collage with all my twitter followers.
Is there an automated way to get all the profile pictures of my followers (>10 000), without authenticate with twitter. the followers are public anyways.
You can do that by writing a script that iterates thru your followers' twitter handle names and use Cloudinary's twitter profile access and any of the easy-to-use image transformation features including format conversion, etc.
For example: http://res.cloudinary.com/demo/image/twitter_name/w_100/billclinton.jpg gives you access to:
.

get autosuggestions via Bing Search API v2

How might one be able to get the list of autosuggestions for a given search from Bing Search API like in the screen capture below? This doesn't seem to be among the results provided by choices of [Web|Image|Video|News|SpellingSuggestion|RelatedSearch]. Alternatively, does Google provide this?
As background, Bing can be queried via REST API using a query string, such as this URL (note it requires a developer key for basic auth). One can change the 'Web' keyword to get other results, but I'd really like to get the suggestions specifically:
https://api.datamarket.azure.com/Bing/Search/Web?Query=%27sushi%27&$format=JSON&$top=5
Bing Developer docs
There is an api route directly to the Bing suggestion list. Interestingly, this is separate from the developer API list. Currently the link is
api.bing.com/osjson.aspx?query=[URI encoded search term here]

How to exclude mentions in the Twitter streaming API

I am using the Twitter Streaming API since I need to get all posts on the home timeline as well as lists and hashtags the user is following. However, this also returns mentions (which do not appear on the timeline) is there a way to exclude these from the streaming API?
It turns out that it is not yet possible to ignore #mentions in the Twitter Stream, so I just had to manually sort and remove #mentions after receiving the data.

Is it possible to do an image search on tumblr via api or rss method?

I would like to search tumblr.com from my app, using some api (did not see any search methods in their api) or via rss of their tags. Is this possible?
Hopefully not by using google ajax search....
Also, I see websites like tumblow doing this via twitter api calls but that is also not ideal. I would like to retrieve similar results to what you get when you just search in tumblr.

Google Places API Email/Website

Is there a way to get Email/Website of a particular place using Google Places API? If this is not possible is there a way other than using Google API?
To retrieve a places website address using Google Places API, you could perform a Places Autocomplete Request with the input parameter value set to the name of the place: e.g.input=Amoeba
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=Amoeba&sensor=false&key=your_api_key
Then using the reference from the response you could perform a Places Details Request: e.g.
reference=ClRMAAAAVzPUTLym999EXs4mKkpTqEmzX0a2kfXCUs4enTvWMHDd06VLvlzsGOdfrRd2QvkiRWs4sNkraAAJlMdytt4O4kYGoJZn4ENL5Ig5QYyeJmMSECDOGMO1MnDFtqzdqD8oDk0aFJr8_s-Y946QOz24YubPUsmoC2vl
https://maps.googleapis.com/maps/api/place/details/json?reference=ClRMAAAAVzPUTLym999EXs4mKkpTqEmzX0a2kfXCUs4enTvWMHDd06VLvlzsGOdfrRd2QvkiRWs4sNkraAAJlMdytt4O4kYGoJZn4ENL5Ig5QYyeJmMSECDOGMO1MnDFtqzdqD8oDk0aFJr8_s-Y946QOz24YubPUsmoC2vl&sensor=false&key=you_api_key
This would return the details for Amoeba including if available, the parameter website which would contain the places website address.
Google Places API provides Details requests and responses using your API key.
The tag allows for the google places url for that places
e.g.
http://maps.google.com/maps/place?cid=10704550479004381649
If you wish to harvest website, fax and opening hours information, it can only be done here.
There is no direct api in the Google Places API that will provide that info.
Just as addressComponents are part of the Details response, i assume tags will be added to the Place Details responses from the API to address this problem.
I have been trying to use Google Places API, and I have successful queries, fetching Places details, which has all the address information for the place I want to find, but ironically, there is NO WEBSITE attribute in the returned JSON!
The first version of Local search was MUCH better, and always accurate for searches when you know the business name.

Resources