I see. Thanks for the reply. I guess I will look into MozActivity way of doing it.
Thanks On Tuesday, September 22, 2015 at 8:11:51 AM UTC-4, DANIEL JESUS COLOMA wrote: > Hi, > > I'd recommend you delegating the rating to the Marketplace (and the user > authentication) and use activities for that as shown at [1]. Additionally, > Bug 1164072 [2] was open in order to improve the Activity behaviour by > allowing the rating window to be shown inline. > > A while ago I implemented a library (inspired in a iOS equivalent) to help > the promotion of Fx Marketplace apps by encourage ratings but only in given > conditions, it's called fxosRate and available at GitHub [3] just in case > it's useful to you. > > Cheers! > > [1] > https://github.com/mozilla/fireplace/wiki/Web-Activities#marketplace-app-rating > > [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1164072 > [3] https://github.com/dcoloma/fxosRate > > > > On 22/09/15 00:36, "dev-fxos on behalf of Prateek Jadhwani" > <[email protected] on behalf of > pratee......com> wrote: > > >Hi Guys, > > > >I have a fxos app, and I want the users to rate the app from inside the app. > >I came across the Marketplace api for ratings > >(http://firefox-marketplace-api.readthedocs.org/en/latest/topics/ratings.html) > > but it says it needs authentication. For authentication, it asks me to > >enter Persona Audience and Persona Assertion > >(http://firefox-marketplace-api.readthedocs.org/en/latest/topics/authentication.html). > > So, audience is supposed to be, say, my app website as per > >https://developer.mozilla.org/en-US/Persona/Remote_Verification_API . Would > >that get that the token to add app rating on Marketplace? If no, what would > >be the correct way to implement this functionality. > > > >Thanks in advance > >_______________________________________________ > >dev-fxos mailing list > >[email protected] > >https://lists.mozilla.org/listinfo/dev-fxos _______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

