5

I'm about to release an iPhone app. Part of its functionality is that the user can send some content of the app by email (amazing!).

Now, by default, I'm inserting some text in the body of the newly composed message, including a link to the App Store, enabling the person who receives the message to download my app (revolutionary!).

So, I figured out, that the URL of an app is:

http://itunes.apple.com/app/id[your apple app id here]

which is very convenient, because you can actually include the url in your app, even before the app actually exists. (Your apple app id is indicated in itunesconnect).

But, I want this to even look better, by using the recently introduced itun.es URL shortening protocol.

I don't know nor understand too much about URL Shorteners. I just want to be able to express an iTunes link of a not yet existing app that already has an ID in an itun.es way.

Does anybody know the algorithm?

3
  • wouldn't it look even better if you linked to your own website? ie: download.youapp.com ? Dec 16, 2010 at 13:45
  • Maybe, but even then I would like to put the itun.es link on my own web site...
    – Sjakelien
    Dec 16, 2010 at 14:09
  • Curious about this myself, as I have in fact seen examples in the wild.
    – akaru
    Apr 19, 2011 at 5:39

2 Answers 2

9

I don't know of any quick way to do it, but it is possible. The clumsy way to extract it is to go to the app in the iTunes app store and choose "Share on Twitter" from the dropdown menu next to the price. This will open a link in your browser. The itun.es URL is in the query string of the link, though it's URL-encoded and initially difficult to see. For example, here's the link for the iPad Pages app:

http://twitter.com/#!/login?redirect_after_login=%2Fhome%3Fstatus%3DApple%25C2%25AE%2B-%2BPages%2B-%2Bhttp%253A%252F%252Fitun.es%252Fi6M97N%2B%2523iTunes

The shortened app identifier is just after "itun.es%252F", beginning with "i" and continuing up to the next percent sign. Pages has the identifier "i6M97N", so the final URL is just:

http://itun.es/i6M97N

3
  • This is true. However, the question was for an unreleased app. Is there a way to get the URL before the app is available on iTunes (i.e. just in iTunesConnect)?
    – akaru
    Apr 25, 2011 at 16:24
  • I doubt it. The app identifiers in the full URLs appear to be related to date of release in the store, so it seems unlikely the short URL would be available before release. Still, filing a feature request with Apple might eventually get you what you want. Apr 27, 2011 at 5:27
  • You can view the iTunes URL before the app is released if you go to developer.apple.com --> iTunes Connect --> Click on you unreleased app --> Click on "View in App Store". iTunes will try to open the link but then say "App is not available in this store".
    – user1107975
    Mar 18, 2013 at 9:22
5

To find the itun.es and appsto.re an app

  1. Open up the app in the Desktop version of iTunes.
  2. Next to the "Download" button, click the arrow, then click "Share on Twitter".
  3. You'll get a link that resembles https://appsto.re/xxxxxxx in the tweet box.

To get the itun.es link just take the url and replace the domain with itun.es. So you will end up with:

https://appsto.re/xxxxxxx and https://itun.es/xxxxxxx

1
  • 1
    Thanks, but I'm looking for a way to get the short URL before the app is released.
    – Sjakelien
    Sep 18, 2015 at 15:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.