Twitflick is a project mainly written in JavaScript, it's free.
Post status update to twitter including a shortened flickr photo URL
There's probably not going to be any formal documentation for this, but I did post some notes about the development on the Vunction Blog