How to link directly to an app's Reviews page?
by Richard Skala · in iTorque 2D · 07/09/2011 (12:32 pm) · 11 replies
I want to add a "Rate on App Store" button in my game. How do you link directly to your app's Ratings/Reviews page in the app store? I see tons of apps do this, but I haven't found very good information about it so far.
About the author
Founded in 2009, Pixel Vandals Inc. is focused on bringing fun, fresh, and new ideas to the iPhone. www.pixelvandals.com www.pixelvandals.com/vineking
#2
07/09/2011 (2:57 pm)
Thanks Johnny, I was after this as well :)
#4
$APP_STORE_URL == the link Johnny posted but with your app id.
07/09/2011 (5:47 pm)
Ignore the app specific stuff ...function RateThisAppBtn::OnMouseUp(%this){
if(%this.isHoldingDownd){
%realTime = getRealTime();
if (%realTime - $MenuLevel.tappedTime < 100) {
return;
}
$MenuLevel.tappedTime = %realTime;
playHitButtonSound();
gotoWebPage($APP_STORE_URL);
}
%this.setSourceRect(0, 522, 135, 134);
%this.isHoldingDownd = false;
}$APP_STORE_URL == the link Johnny posted but with your app id.
#5
But also...
@ line 3, why have getRealTime()?
@ line 4, what would $MenuLevel.tappedTime be?
I know there are a million questions. I just want to get the view point of a more experienced programmer.
Thanks.
07/09/2011 (6:58 pm)
Why do you have so much stuff there? you could in theory just have goToWebPage() right?But also...
@ line 3, why have getRealTime()?
@ line 4, what would $MenuLevel.tappedTime be?
I know there are a million questions. I just want to get the view point of a more experienced programmer.
Thanks.
#6
getRealTime() is probably the time elapsed since the application started.
In theory, yes, you could just have the code for opening the web page.
07/09/2011 (9:51 pm)
From the looks of it, he's just checking how long the button was pressed, and only allowing the button press if the button was touched long enough.getRealTime() is probably the time elapsed since the application started.
In theory, yes, you could just have the code for opening the web page.
#7
07/09/2011 (10:11 pm)
btw, Johnny, thank you for that link -- it works perfectly.
#8
07/10/2011 (3:57 am)
Rennie, we use a "pressed" button image as well as a normal button image. This code just handles that.
#9
I was just being or trying to figure out your approach.
New profile pic. Niiice.
::)((
07/10/2011 (9:28 am)
Yah, I figured. I was just being or trying to figure out your approach.
New profile pic. Niiice.
::)((
#10
www.facebook.com/CannibalCookout
07/10/2011 (10:24 am)
Thanks Rennie, an upcoming game of ours, Cannibal Cookoutwww.facebook.com/CannibalCookout
#11
It says the page is currently down though.
Will try again later today.
Good luck!
07/11/2011 (3:11 am)
Sweeet. It says the page is currently down though.
Will try again later today.
Good luck!
Torque Owner Johnny Vo
itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=415231898
replace the id number with your app id.