views:

455

answers:

6

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.

A: 

Try replacing itunes with phobos, e.g.:

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewArtist?id=293559501

Links to phobos.apple.com will open in the App Store application, while links to itunes.apple.com will open in the iTunes application.

Jason
Sorry, I already tried that one and it doesn't seem to make a difference. It still won't open correctly on the iPhone.
Julio Gorgé
A: 

simply go to itunes than click on the name of your company , copy and paste it whereever you want . i think previous answers were usefull for previous versions of itunes

That does only work on a Mac or PC, but not on an iPod Touch or iPhone. Please read again the original question.
Julio Gorgé
+1  A: 

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

John Fricker
A: 

So, the procedure in Apple's Technical Q&A on the subject doesn't work? (That seems to match Jason's answer that you said was not successful.) It did work for the user that posted this other question and this one, although perhaps the difference is linking to an app versus linking to a company?

Sixten Otto
That works for apps, not for authors/companies, hence my question.
Julio Gorgé
+3  A: 
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!!

Phoo
Thanks. It's not exactly what I was looking for, but is a valid solution when the company/author name is kind of unique and does not contain generic words (otherwise the search results gets populated with apps form other companies/authors).
Julio Gorgé
Worked for me too .. Thanks :)
Cannonade
A: 

I think the Apple sample code has a bug. Change

self.iTunesURL = [response URL];

to

self.iTunesURL = [request URL];
Eric Shapiro