Dienstag, 23. März 2010

How to generate previews from flic.kr short URLs

On twitter you may see URLs of this kind: http://flic.kr/p/7ME9tR. Well, at least I saw them when coding TweetMountain (more specific when writing its image handling routines).

I needed to get the actual preview image from those URLs. After a little research I found this page (esp. the post by kellan)...

The URL just needs a little rewrite to get the image previews. This is what kellan wrote:
flic.kr/p/7sqMtA (this is the URL)

This has to be rewritten to:

Generalized form:

Keine Kommentare:

Kommentar veröffentlichen

Hinweis: Nur ein Mitglied dieses Blogs kann Kommentare posten.