Reputation: 3588
When in a browser it's typed an url like this: http://itunes.apple.com/app/NAME_APP/idAPPID?mt=8 (where NAME_APP is the name of an iPhone app and APPID its identifier) it is showed the iTunes preview of the app in the USA App Store.
Is there a way to open the iTunes preview according user's locale?
Upvotes: 1
Views: 1498
Reputation: 1468
I get this link from Facebook developer, you can try this: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=[APP-ID]
This will detect user locale.
Upvotes: 3
Reputation: 31304
You can prepend the two character country code to the URL to get you the appropriate store and price, like this: itunes.apple.com/[COUNTRY CODE]/app/NAME_APP/idAPPID?mt=8
Here are a few examples using one of my apps:
http://itunes.apple.com/gb/app/mobile-legislate/id441586657?mt=8 - English store, price in Pounds
http://itunes.apple.com/fr/app/mobile-legislate/id441586657?mt=8 - French Store, price in Euros
http://itunes.apple.com/us/app/mobile-legislate/id441586657?mt=8 - USA store, price in Dollars
Do be careful though, because if you use an invalid country code you'll simply get an error, and won't be redirected to a generic page.
Upvotes: 2