I'm adding links in my game so players can rate and see more games of the same developer.
For rating I'm using
itms-apps://itunes.apple.com/app/idMY_GAME_ID_IN_NUMBERS
and it works properly, opening the App Store straight away.
However, I can't find a link that opens the App Store app in my iPhone and shows a list of all games by the same developer.
I've tried this
http://appstore.com/STUDIO_NAME
and it works, but it opens first the device web browser and then the App Store, I guess because of the http protocol instead of itms-apps. I'd rather going straight to the App Store like the rate link does.
Any idea about how to achieve it?
For view Application page :
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/us/app/APPNAME/idApp?mt=8&uo=4"]];
//APPNAME = Application name, idApp = Application unique id
For view App from the developer
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms://itunes.apple.com/us/artist/DEVNAME/idDEVID?uo=4"]];
DEVNAME = Developer name in small chars, idDEVID = developer id, you can get it from iTunes.
Update 1
If you have your App Id then you can get your developer id like,
https://itunes.apple.com/lookup?id=YourAnyAppID
Run this in web browser, and in response search for artistViewUrl
word, this will give you URL
, that List all APPs from Same Developer
Just keep in mind that replace http
to itms
to stop redirection.
Update 2
List all app of a developer , from: appstore.com/{developername}
.
Get our single app link, from: appstore.com/appname
. You can get this things when app get published.
May this helps.
HTH, Enjoy Coding!!