Get only images - box-api

Is there any way to get only images (only audio or video) using box-api.
I tried to use search api and If-Match condition but didnt find any way to do this.
Please suggest...

Do your audio/video files have extensions? The Search API should work in this case. You can search for multiple extensions at one time if you put a space between them:
GET /2.0/search?query=jpg%20mp4%20png

Related

Majority of last.fm artist images missing (echonest api)

The Echonest API has in its index mostly artist images from Last.FM which recently pulled the plug on their images rendering the entire echonest api basically useless. Has anyone found a workaround?
https://getsatisfaction.com/lastfm/topics/fetching-images-from-last-fm
Well here's a workaround. I posted this on the getsatisfaction link you provided:
You can check to see if the echonest images are coming from the old, broken server (they begin with http://userserve-ak.last.fm) and cancel those out. If no more echonest images exist, you can try to get one using the Last.fm API as a fallback.
As far as albums go, there must be another substantial API out there for use as a fallback.
Has anyone looked into discogs or beatport? Both of those work with Echonest ID spaces.
They didn't pull the plug, it's just that URL of images changed (probably along with their new website), it's not http://userserve-ak.last.fm/serve/252/xxxxxxxx.jpg anymore but http://img2-ak.lst.fm/i/u/300x300/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.png.
The Echonest cached this info, so now they have to update it... and it takes time. You can either wait or use Lastfm's API to retrieve images yourself ;)

AS3 - how to put links into the app that google can index?

How should one place links in a Flash app such that google can index them?
If I have a textfield that renders html and the html contains a tag, will google index that? how does google search for links in a flash app, and how does it get the context?
Actually SWFs are indexed. Read this FAQ. They got a special Flash player which is used by robots to index stuff.
But as far as I know google doesn't get indexed much this way because MOST of flash sites are dynamic. You have to have actual strings of text embeded in your SWF to get indexed.
And I don't know if they fixed that or not but if you load XML data into SWF it got indexed separately. Which doesn't make much sense.
As far as I understand it, you should put whatever you want Google to index in your html file as swfs don't get indexed last time I checked.

display twitpic using actionscript 3

I would like to find out if it is possible to display twitpic with specific hashtag in flash application. I have been searching online but none has actually provide similiar solution. Please give me some source as reference as I have been stuck for quite awhile. Thanks a lot.
You will need to use the twitter API to do a query on a hashtag search. Then use the twitter image domain to pull images for the user's screen name that's in the json result in the query.
URL address to pull images:
http://img.tweetimag.es/i/UserName
Twitter API for searching (includes hashtags):
https://dev.twitter.com/docs/using-search

How to include Google Search results on a webpage

I'm doing a webpage about apples (the fruit), I want to include Google search results for apple recipes on the bottom of the page. How can I do this?
For more advanced inclusion of Google results check out this: https://developers.google.com/web-search/docs/#fonje
You can use ajax based search queries for your keywords and put the results on your website.
There are examples in the docs
Update:
As the API is deprecated you can now alternatively just scrape the results from Google instead of using their API.
There is an open source PHP scraper that can be included into your website at http://scraping.compunect.com
You can accomplish this using iframes, but you might want to consider some alternatives... you might want to create a Google Custom Search Engine to serve results only from recipe websites. And, instead of using a frame to display results, you might want to simply make the custom search engine available, so that, only if a user is interested in finding a recipe, he/she may do so. Something else to consider... you might want to monetize this, in which case using Google AdSense would be the way to go.
<iframe src="http://www.google.com/search?q=apple+recipe" />
If you want to use an iframe, you can use the code above; however, this is not a good design decision.
See recipes about bananas.

Do not you know how to take the capture of the arbitrary URL in a server-side? (with Chromium )

As for Google chrome, a site captures a reading history if I think personally.
May not you acquire capture with the library?
like this site;link text
Are you asking how to screen capture a website that someone submits, like the thumbnails in the site you linked to?
The simplest way would be to use a service like one of these. And then write a script to grab the image.