Question

I am trying to implement rating functionality in a Windows Store application using HTML / Javascript.

I am showing a popup dialog similar to the one below within the application and when "Rate" is clicked I would like to redirect to the Marketplace where the user can then rate the application.

enter image description here

This is a task that can easily be done on Windows Phone 7 via the MarketplaceReviewTask.

Is there an API on Windows 8 that I could call to have this achieved?

Was it helpful?

Solution

The Rate and Review link in the Settings charm will automatically appear for users other than yourself (since you can't rate your own app).

If you want a custom link somewhere, you can use LaunchUriAsync like Jim says, using this URI:

"ms-windows-store:REVIEW?PFN=[my-pfm]"

where my-pfm is "Package Family Name" which you will find in your application manifest.

OTHER TIPS

Here's a blog post I found that's helpful:

http://www.andybeaulieu.com/Default.aspx?tabid=67&EntryID=227

If you use protocol activation (LaunchUriAsync) with the URI format suggested here you'll get to your app's page on the Store; however, there's still an additional step for the user to click Write a Review. There may be a way to deep link to it and I'll update if I find out.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top