Linking to App Store in OS 2.1
With the release of iPhone OS 2.0 came support for linking to apps in the app store from websites, however this was effectively broken by the 2.1 update which came out shortly thereafter. In talking with Chris from iWebKit I came across a post on the iPhoneWebDev board from Romain about a simple modification which will re-enable support for direct links to app store apps.
To add a link to an app from your website under 2.2, you will need to use the updated itunes.com url scheme instead of the phobos.apple.com.
The link should be formatted as follows:
<a href="http://www.itunes.com/app/name_of_your_app">http://www.itunes.com/app/name_of_your_app </a>
Where “name_of_your_app” is the app you wish to link to. Thats all there is to it. This should be supported by iPhones running OS 2.1-2.2. Let us know if you have any comments.
-Shaun Mackey





Comment by Nathan: February 22, 2009 @ 3:54 pm
What is the “name” here? The .app name? The display name?
I tried both for my app, and neither URL could be found. Although, I was using a standard desktop web browser. Do these URLs somehow only work for actual iPhones/iPods? That would be strange.