how do you link directly to app store app update page?
I'm finishing up an iPhone app. I'm using an external server to inform users of when an update is available for my app and allowing them to click from within the app to go straight to the update on the app store. Problem is, I can't seem to figure out the link format to go directly to the update. I've found an old method of using viewsoftwareUpdate (mentioned in another post here) but it's all related to outdated phobos links and I can't seem to get it working for me. I'm currently using the simple format to link directly to the app: itms-apps://开发者_如何学Pythonitunes.com/apps/"appname", and I assume there is a way to alter this format to get to the app update instead of the main app page?
This seems like a pretty basic functionality so I'm surprised I can't find anything on it.
Also, does anybody know how to link directly to the users own update tab in the app store? Not specific to one app, but the update tab that shows all the updates they have available for download.
Turns out the phobos links do still work and you can link directly to the update page using this URL format:
itms-apps://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftwareUpdate?id=[APPID]&mt=8
Of course replacing the [APPID] with your own app id, not including the brackets. This will link directly to the latest update for the app, instead of the main app page.
[Note: the solution was posted in with the question, I just moved it here --progrmr]
Just link to your app in the app store, that link will never change.
The page will show the updates right above the screenshots.
Your best bet is to strip the update information from your apps page using JSON, or some XML parser.
As for the list of all updates, again, Apple compares versions of the installed apps and lists them accordingly, stripping out only the update information.
The phobos link did not work for me so I used the following link and it works great:
itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftwareUpdate?id=[APPID]&mt=8
精彩评论