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
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.
hey dave
does the site you are accessing from your iphone have the generated iframe code embedded on it?
or are you getting the issue the when visiting the demo site at http://noblegiant.com/blog/itunes?
i can’t seem to replicate the bug you are getting.
thanks
http://noblegiant.com/blog/itunes just hangs on iphone. it gets the discography but hangs when trying to pick an album.
my site wont work with your preview with or w/o frame.
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.