Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
298 views
in Technique[技术] by (71.8m points)

macos - Mac App Store - link to App Review Page

In the iOS versions of our software we prompt users to submit reviews using the well know "viewContentsUserReviews" URL.

We'd like to do the same thing in the Mac OSX versions of the apps. Is there a similar URL that can be used for the Mac App Store?

Thanks in advance.

question from:https://stackoverflow.com/questions/4805991/mac-app-store-link-to-app-review-page

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I have part of an answer. To link directly into the Mac App Store you need to use the MAS protocol which is "macappstore:". This can be found by looking in the info.plist for the MAS app.

Some experimentation has found that using part of the URL from the link to an app will work in the MAS app. So if I copy the link to my app from the MAS app it looks like this:

http://itunes.apple.com/us/app/ringer-ringtone-maker/id402437824?mt=12

Of course using this does not open directly in the MAS app. But you can remove the store country designator and the name of the app and add the MAS protocol and you get this:

macappstore://itunes.apple.com/app/id402437824?mt=12

Which opens the main page for an app directly in the MAS app. I have not yet found a way to link directly to the rating page. Since the rating section in the MAS is just a part of the main page that is revealed it is possible that there is no link directly to it. I would love it if that were not true.

Perhaps someone else can find this last bit. In the meantime I plan on using the link to the main page as a fallback until the rating page URL can be found.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...