Using your Firefly URL Shortener with Twitter for iPhone
7 Feb, 2011
1 minute read

The Twitter for iPhone app (itunes) can be configured to use your very own Firefly URL shortener! Here’s how.

~ Custom URL server...

Actually, it’s quite simple. First, setup your own Firefly instance, possibly using Heroku.

When that’s done, simple open Twitter for iPhone, then follow this path:

  • Tap the three dots
  • Open “Accounts & Settings”
  • Tap the “Settings” button at the bottom
  • Open “Services”
  • Choose “URL Shortening”
  • Then pick “Custom…”

All right, you’re now ready to enter your magic URL. Simply replace the YOUR_DOMAIN and YOUR_API_KEY placeholders with your actual domain name and API key (you can find them in your config.ru)

http://YOUR_DOMAIN/api/add?api_key=YOUR_API_KEY&url=%@

Then hit “Save” and you’re set! Twitter for iPhone will now automatically use your Firefly instance to shorten URLs!

Looking for the Firefly source code?

If you're seeing this message you've probably enabled some form of adblocker. I respect that.

I use this space to show recommended books on Amazon.com in relation to the post you just read. This generates a small income that allows me to buy a book every now and then.