So a while ago I read Amit Agarwal's "Screenshots: Still the Best Way to Embed Tweets in Web Pages" and thought, hey, maybe I will code up something so people can easily embed tweets on their website. I don't use Twitter that much but what the heck, I am not doing anything today anyway so I started working on this little project this morning while watching the original "The Karate Kid" for the first time (I don't like the movie at all).

It's a little pain in the neck to deal with the undocumented ImageMagick API for PHP at first, but I got that sorted out after a while.

For the time being, the project is being hosted on chen.vc (my other website that doesn't serve any meaningful purpose at the moment). To use the service, you simply have change twitter.com part of a tweet's URL to chen.vc. For example,

http://twitter.com/NatGeoSociety/status/15962947904

becomes

http://chen.vc/NatGeoSociety/status/15962947904

And then you can embed the tweet on your website/blog like this:

NatGeoSociety tweet

I think it's a great little service for people who embed a lot of tweets on their websites. In the future I might allow customizations for the image. We will see though.

note: I copied the background from Tweetie (now owned by Twitter).

P.S. I apologize for the lame title.