All ur Twitpics, in one line.

Approximately 17 hours ago, I received a tweet from @KymPossible regarding an app to pull your Twitpics out of your timeline. Apparently, @donttrythis wanted to pull all of his TwitPics out of his Twitter timeline. Always one for a challenge and with a fond love of one-liners, I whipped up this quick hack that pulls TwitPics out of your Twitter timeline and sticks them in an HTML file.

It’s ugly, it can be factored, it’s invalid HTML and the API barfs more often than returning the correct data…but it works. For the sake of sharing, here’s the little “script”.

That will download the last 750 updates (the Twitter API barfed over that number usually), run some shell-fu (this is where the factoring would come in), retrieve the twitpic images and sort them in chronological order. It should work on most UNIX-based systems, but I wrote it on OS X. Have a nice day.

(I really need to make a new post on my other new Twitter tool that can be used to search Twitter bios. I’ll get to that soon…)

p.s. I love Gist.

Continue reading » · Written on: 02-02-09 · 2 Comments »

2 Responses to “All ur Twitpics, in one line.”

  1. Leland wrote:

    This is very useful for easily putting together a “twitter scrapbook” that reminds oneself of their twitter history.

    I just tried it. :)

    February 10th, 2009 at 6:52 pm
  2. http://twitter.com/CoreyDTT wrote:

    This is so mind boggling to me…

    February 12th, 2009 at 10:24 pm

Leave a Reply