On TechRepublic: Five super-secret features in Windows 7
BNET Business Network:
BNET
TechRepublic
ZDNet

September 28th, 2009

Easier access to Twitter thumbnails with Tweetimag.es

Posted by Andrew Mager @ 10:52 am

Categories: Commentary

Tags: Twitter Inc., API, Andrew Mager

Joe Stump, former Digg PHP god, has yet another side project that makes using the Twitter API one step simpler. It’s called Tweetimag.es.



Instead of using the Twitter API to get a user’s thumbnail (which requires an HTTP request from Amazon’s S3 service, which isn’t always reliable), you simply use this syntax:

http://img.tweetimag.es/i/[twitter username]_[size]

Stump is using a content delivery network to host his image files, and his service even comes with automatic resizing.

The images are cached so there is basically a 0% chance you’ll see an empty avatar.


As of this morning, all of the Twitter thumbnail requests for wefollow.com are using Tweetimag.es.

If you are building a Twitter application, don’t bother with the Amazon URLs, use Stump’s method for more reliable thumbnails.

Andrew MagerAndrew Mager is a web developer at Ning, Inc. in Palo Alto. See his full profile and disclosure of his industry affiliations.



Email Andrew Mager

For daily updates on Andrew's activities, follow him on Twitter.

Subscribe to The Web Life via Email alerts or RSS.

Talkback

Add your opinion

SponsoredWhite Papers, Webcasts, and Downloads

advertisement
Click Here

Recent Entries

advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

  • Smart Tech Expert advice on innovations in healthcare and the green technologies that make it happen. Find out more
  • Smart Business Discussion and advice on management issues that revolve around making your world smarter and more useful. More Smart Advice
  • Smart People The best and worst moves in the management and strategy trenches. Learn More