Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to link to the page of a single author/company page on the App Store?

I would like to provide a link to all the apps of a single author/company on the App Store from my iPhone app.

Let's take Ngmoco for instance. Clicking on the following link on iTunes for PC or Mac opens iTunes and redirects the user to a page with all the published apps of Ngmoco up to today: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=293559501

However, opening the same URL from the iPhone (e.g. from Mail.app, or from another app) causes the iTunes Music Store browser to be launched instead of the App Store browser, and an error message pops up. Anybody knows how should I craft an iPhone-friendly URL linking to all the apps of a single author or company? Thanks.

like image 282
Julio Gorgé Avatar asked Jun 29 '09 21:06

Julio Gorgé


2 Answers

NSString *str = @"itms-apps://ax.search.itunes.apple.com/WebObjects/MZSearch.woa/wa/search?media=software&term=glbasic";
[[UIApplication sharedApplication] openURL: [NSURL URLWithString:str]];

That seems to work for me!!

like image 139
Phoo Avatar answered Sep 21 '22 19:09

Phoo


Even easier are the itunes.com urls. http://itunes.com/CompanyName (remove any spaces in the company).

like image 45
John Fricker Avatar answered Sep 23 '22 19:09

John Fricker