When news breaks such as today's massive earthquake in Chile, one of the first places where images show up from the scene is on Twitpic, a popular image-posting service for Twitter users. You can find links to these images on Twitter search by including "twitpic" as one of your search terms, but that's not as useful as seeing thumbnails of the actual images. You have to click each link to see what it contains.

To make it easier to see the images being posted about Chile, I wrote a Java application this morning that uses the Twitter and Twitpic APIs to download thumbnails and display them in reverse chronological order. Each thumbnail can be clicked to open the photo on Twitpic's site.

The application produces a web page and RSS feed, updated every two minutes.

The application is a mashup that does the following:

  1. Downloads a search feed of "twitpic chile" from Twitter in Atom format.
  2. Extracts Twitpic URLs from tweets in that feed.
  3. Calls the Twitpic API to get the thumbnail of each photo as a JPEG image.
  4. Saves the thumbnail to a directory on my server.
  5. Produces a web page and feed of the saved thumbnails, sorted using the creation time of its file.

I'll be releasing it under the GPL when it's done. This application includes support for PubSubHubbub, so subscribers can see new photos show up in real time with clients such as Google Reader.

-- Rogers Cadenhead


I've been having trouble getting the application to run without hanging the server, presumably due to connection issues when calling one or both APIs, I turned it off while I look into it.


We provide search engine optimization website design and translation services
www.hzyuyue.com <>


You are so cool! I don't suppose I've truly read through anything like that before. So great to discover someone with a few original thoughts on this subject matter. Really.. many thanks for starting this up. This web site is one thing that's needed on the web, someone with some originality!|
Medium www.maisons-punch.com//medium.com/@mattlinklater/


Nice blog here! Also your web site loads up very fast! What host are you using? Can I get your affiliate link to your host? I wish my website loaded up as fast as yours lol|


Add a Comment

These HTML tags are permitted: p, b, i, a, and blockquote. A comment may not include more than three links. Participants in this discussion should note the site's moderation policy.