Get analytics on your bit.ly links with Tweetie 2
This is fundamentally a reiteration of what can be found in Tweetie and bit.ly developer docs, but some folks might find it helpful to use bit.ly's analytics with the new Tweetie 2 release.
- Register for a bit.ly/j.mp account.
- Copy this lengthy URL (click and hold on the link on the iPhone): http://api.j.mp/shorten?version=2.0.1&longUrl=%@&login=MYUSERNAME&apiKey=R_MYAPIKEY&history=1
- Open Tweetie 2, and navigate to Accounts > Settings > URL Shortening > Custom…
- Paste the above template URL into the custom field.
- Go to your bit.ly account page and copy the API Key from the text box on the left-hand column. A double-tap on the iPhone will likely only capture the part of the API key after the standard-ish "R_" prefix. The template URL I gave you accounts for that.
- Return to the Tweetie custom URL Shortening settings, and replace the MYAPIKEY portion with the api key you just copied.
- Save and try to shorten a URL yourself (click on the character count button to expose that control) when composing a tweet.
- Return to your bit.ly account to see that URL.
I hope that's helpful to some.
Update: corrected typo that almost surely prevented it from working. Sorry!
3 comments
Zack McDougall said...
Thanks for this. One question, though. The shortened URLs are not showing up in my Bit.ly history, even though you added &history=1 to your template. I've double checked my username and API key, and it's still not showing up. Would Tweetie be mishandling the &history=1 or is it just me?
Adam Lindsay said...
Zach. I'm really sorry for the lost time and frustration, but thanks to your comment, I uncovered a typo. The template URL is corrected above. So sorry to all.
Nov 11, 2009
Charlie said...
I'm having the same problem as Zack. The links shorten, but they don't show up in my history. I'm using the instructions that existed as of today. I got my MYUSERNAME and MYAPIKEY from my j.mp account page. Any idea what I'm doing wrong?
