应用内评论链接

发布于 2024-09-30 02:46:47 字数 1239 浏览 7 评论 0原文

我正在尝试直接从我的应用程序链接到应用程序的评论页面。

这与我的一些应用程序 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

濫情▎り 2024-10-07 02:46:47

392551011 = The DumDumb Exam HD

尝试:

NSString *reviewURL =
 @"itms-apps://itunes.com/app/thedumdumbexamhd";

在设备上的 Safari 中输入上述 URL 将进入 App Store 页面。 URL 字符串是从 URL 中获取的应用程序名称:

http://itunes.apple。 com/us/app/the-dumdumb-exam-hd/id392551011?mt=8

然后转换为小写并删除空格和破折号。

for 392551011 = The DumDumb Exam HD

try:

NSString *reviewURL =
 @"itms-apps://itunes.com/app/thedumdumbexamhd";

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:

http://itunes.apple.com/us/app/the-dumdumb-exam-hd/id392551011?mt=8

then converted into lower case and the spaces and the dashes removed.

穿越时光隧道 2024-10-07 02:46:47

您应该仔细查找您的应用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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文