loader from loading.io

Twittering Long URLs to Tiny URL on your iPhone

Dancing With Elephants

Release Date: 08/18/2008

This little trick allows you to Twitter websites you may come across while browsing Safari on your iPhone and not having to enter long URLs since it uses Tiny URL. And the best part is it takes only 3 clicks and no copy-paste.

The First thing you'll need is Twitterrific loaded on you iphone. The Free version works for this.

Next, you need to create the following two Javascripts as Bookmarks in Safari on the iPhone.

javascript:void(location.href='http://tiny.cc/?fullurl='+escape(location.href))
Call this one "Convert to TinyURL" or something like that.

javascript:window.location='twitterrific:///post?message='+escape(window.location)
Call this one 'Post with Twitterrific'. And there is no space between '?' and 'message'.

Now all you have to do is when you come across a link that you want to post to Twitter from your iPhone, go to your Bookmarks and click on Convert to TinyURL. This will open a new page in the process creating a TinyURL link to your original page. Click on the TinyURL and this should display the created TinyURL in the Safari address window. Now go to your Bookmarks and click on Post with Twitterrific. This will grab the TinyURL address and dump it in the Twitterrific enter text panel. Finish your post and hit send.