iTunes Preview Widget

This plugin is no longer supported, but feel free to download and use at your own discretion :)

Recently, Twitter announced on a post from their blog that you can now preview itunes music from tweets containing itunes urls.
Pretty sweet and i was almost immediately intrigued by the new service. So I decided to figure it out.

Its really interesting how behind this new feature is some-what of hidden API for producing iTunes Preview urls made for an iframe (I would assume tailored specifically for Twitter).
With a tool like Firebug and network monitoring on, the requests and API parameters are pretty easy to spot…making it not so hidden.

Also interesting  is the iTunes Search API, that seems to be hiding itself in secrecy as well (or maybe I have been living under a rock).

Anywho, for those interested in generating embeddable Itunes Preview Widgets for their website or blog, by all means: http://noblegiant.com/itunes

4 thoughts on “iTunes Preview Widget

  1. is there any way to alter the code so it doesn’t automatically open itunes on an iphone or ipad? it is annoying when u click the link to the preview page it doesn’t open your widget page it just opens itunes on the iphone instead :(
    trying to find a preview itunes music (my own) on rapidweaver without flash.
    thanks.

  2. having some problems with this widget. It looks like it’s partly due to some problems with the itunes json web service not returning any albums – this particular artist only has one full album. I managed to get it half-way working by tweaking the code to look for songs instead of albums. 
    http://example.bryanheadrick.com/
    For some reason, it’s scrunching up the song title and artist name, and I can’t seem to correct it. 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>