如何正确设置App Store链接?
我担心我必须链接到用户所在国家/地区的应用程序商店。我怎样才能自动做到这一点?
例如,我从 Apple 获得的链接是这样的:
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=99999999999&mt=8
它打开 iTunes 但无法加载应用程序。他们说最多需要 24 小时才能到达。这就是我可以给任何人的链接,无论是来自美国、印度、澳大利亚还是荷兰?我很困惑,因为有时 Google 会给我这样的 URL:
http://itunes.apple.com/us/app/id308928075?mt=8
这些 URL 在网络浏览器中显示应用程序描述,显然它们是本地化的。这是给我们的,但您可以输入 /us/ 的任何国家/地区代码来查看特殊说明。
那么,链接到第一个很长的 URL (itunes.apple.com/WebObjects/MZStore...) 是否明智,还是链接到应用程序在线描述的美国页面更好?
I fear that I must link to the App Store of the users country. How could I do that automatically?
For example, the link I've got from Apple is this:
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=99999999999&mt=8
It opens up iTunes but fails loading the app. They say it takes up to 24h until it's there. So that is the link I can give anyone, no matter if from US, India, Australia or Holland? I'm confused because sometimes Google throws me at URLs like this one:
http://itunes.apple.com/us/app/id308928075?mt=8
These URLs show an app description in the web browser, and obviously they're localized. This one is for us, but you could enter any country code for /us/ to see the special description.
So is it intelligent to link to the first, very long URL (itunes.apple.com/WebObjects/MZStore...) or is it better to link to the US page of the app description online?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是对的,网络链接已本地化。但是,如果您从该链接单击“在 iTunes 中查看”,或者确实启动了任何可打开 iTunes 的链接,则用户将被带到商店的正确本地化版本上的产品。我刚刚使用您上面提供的网络链接对其进行了测试 - 单击“在 iTunes 中查看”会将我带到英国商店中的您的产品,并提供英国定价。
您提供的直接 iTunes 链接不起作用,但您似乎没有用您的产品 ID 替换 99999999999 占位符。
我不确定你会认为哪个更好;苹果似乎正在推送网络预览 URL,基于在 iTunes 中右键单击并选择“复制链接”的新行为。另外,您希望打开 iTunes 的链接类型,并替换为您的产品 ID(即 http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=308928075&mt=8) 现在似乎可以转到网页预览而不是打开 iTunes。作为一个快速提示,这似乎是“国际”版本:
即只需删除“我们”。根据价格和评论,我的浏览器仍然会转到美国列表,但我敢打赌它至少会做一些事情来使显示语言正确。
You're correct that the web links are localised. However, if you click 'View in iTunes' from that link or indeed launch any link that opens iTunes then the user is taken to the product on the correctly localised version of the store. I've just tested it with the web link you give above — clicking 'View in iTunes' took me to your product on the UK store, with UK pricing.
The direct to iTunes link you supply doesn't work, but you seem not to have substituted your product id for the 99999999999 placeholder.
I'm not sure which you'd consider better; Apple seem to be pushing the web preview URLs, based on the new behaviour of right clicking and selecting 'Copy Link' while in iTunes itself. Also, the type of link that you expect to open iTunes, with your product id substituted (ie, http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=308928075&mt=8) now appears to go to the web preview rather than to open iTunes. As a quick tip, this appears to be the 'international' version:
i.e. just remove the 'us'. My browser still went to the US listing based on the price and reviews, but I'll bet it does something to at least get the display language correct.