Tweetie 2.x allows you to specify a custom endpoint for URL shortening. The endpoint should mimic either the Bit.ly or TinyURL API.
In the Tweetie Settings, specify the endpoint with a special token %@ - this token will be replaced by the URL to be shortened.
http://myshortener.com/shorten?url=%@
Feel free to have as many other parameters in there as you need:
http://myshortener.com/shorten?api_key=12345&username=poopyhead&url=%@
For example, to use tr.im as your URL shortener linked up to your tr.im account, enter:
http://api.tr.im/v1/trim_simple?username=USERNAME&password=PASSWORD&url=%@
Tweetie expects the following response.
Either bit.ly / JSON style:
{ "shortUrl": "http://suprshort.xxx/xxx" }
Or TinyURL (plain text response):
http://suprshort.xxx/xxx
Tweetie will auto-detect the format.