Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementing "Rate application" functionality on a Windows Store app

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?

like image 210
Gergely Orosz Avatar asked Dec 20 '22 14:12

Gergely Orosz


2 Answers

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.

like image 180
FanerYedermann Avatar answered Apr 27 '23 11:04

FanerYedermann


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

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

like image 25
TrekStir Avatar answered Apr 27 '23 11:04

TrekStir