应用内评论链接
我正在尝试直接从我的应用程序链接到应用程序的评论页面。
这与我的一些应用程序 ID 完美配合,例如这个 [375031865]:
NSString *reviewURL = @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=375031865&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:reviewURL]];
这也有效(相同的应用程序 ID,不同的链接格式):
NSString *reviewURL = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=375031865";
但不适用于其他应用程序 ID,例如这个 [392551011]:
NSString *reviewURL = @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=392551011&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:reviewURL]];
或者:
NSString *reviewURL = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=392551011";
我有不知道其中包含不同 APP ID 的相同链接如何适用于某些应用程序,但不适用于其他应用程序。出现的错误是“无法连接到 iTunes Store”
有什么想法吗? 谢谢!
I am trying to link directly from my app to the review page of an app.
This works perfectly with some of my App ID's, like this one [375031865]:
NSString *reviewURL = @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=375031865&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:reviewURL]];
This also works (Same APP ID, different link format):
NSString *reviewURL = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=375031865";
But does not work with other App ID's, like this one [392551011]:
NSString *reviewURL = @"itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=392551011&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:reviewURL]];
OR:
NSString *reviewURL = @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=392551011";
I have no idea how the same exact link with a different APP ID in it will work for some apps but not others. The error that comes up is "Cannot connect to iTunes Store"
Any ideas?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
392551011 = The DumDumb Exam HD
尝试:
在设备上的 Safari 中输入上述 URL 将进入 App Store 页面。 URL 字符串是从 URL 中获取的应用程序名称:
然后转换为小写并删除空格和破折号。
for 392551011 = The DumDumb Exam HD
try:
Entering the above URL into Safari on the device will take me to the App Store page. The URL string is the app name taken from the URL:
then converted into lower case and the spaces and the dashes removed.
您应该仔细查找您的应用ID!有时桌面版 iTunes 和移动版 iTunes 会有所不同。
我使用 iTunes(复制 URL)方式并坚持“无法连接到 iTunes”。它返回了不规则的应用程序ID!
所以对我来说,答案是在 iTunesConnect 或此处检查应用程序 ID: http://itunes.apple.com/linkmaker /
You should carefully find out your app ID! Sometimes it differs for desktop and mobile iTunes.
I used iTunes (copy URL) way and stuck with "Cannot connect to iTunes". It returned irregular app id!
So for me the answer is to check app id in iTunesConnect or here: http://itunes.apple.com/linkmaker/