I was wondering if something like TinyURL
http://tinyurl.com/[
^] would help, but, they don't have an API
I wonder if there's any service 'like that' that has a API - or can be used 'programmatically' - maybe screen-scraping to their site, but you would have to heck the terms and conditions etc first
[update] there a discussion here on SO that *might* give some more options [/update]
http://stackoverflow.com/questions/3671043/methods-of-reducing-url-size[
^]