11

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.

Julio Gorgé
  • 10,056
  • 2
  • 45
  • 60
  • It seems there is currently no way to do this. Will update this topic if Apple ever adds a way to display all apps from a single author or company at the mobile version of the App Store. – Julio Gorgé Oct 25 '09 at 19:50

10 Answers10

6

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

John Fricker
  • 3,304
  • 21
  • 21
  • 1
    yes this is the best way. It only works on device, and using "itms-apps" to replace "http" makes it much faster. – Ray Aug 24 '11 at 02:20
6
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!!

RedBlueThing
  • 42,006
  • 17
  • 96
  • 122
Phoo
  • 84
  • 1
  • 2
  • 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é Feb 10 '10 at 18:29
  • Too many redirects and searches this way. Look at Aleksey's answer below and my comments. This is the new way as of 2013. – B-Money Sep 02 '13 at 17:28
  • 1
    As of late 2013: use `https://itunes.apple.com`-based URLs (rather than `itms-apps://...` or `http://itunes.com`); e.g.: `https://itunes.apple.com/artist/id284417353?mt=8` for Apple's own page. To determine your own company's URL, go to any of your apps in Tunes, right-click on your company name below the app title, and select `Copy Link`. Such links open directly in the App Store app on iOS devices. A less straightforward way - involves Safari, but is based on name rather than ID - is to use `http://appstore.com/`; e.g., `http://appstore.com/apple` – mklement0 Dec 11 '13 at 21:17
2

Here's what I found works for me, redirecting from within an iPhone app. This goes directly to the App Store app:

NSString *iTunesLink = @"itms-apps://itunes.com/apps/companyname/";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];

Simply substitute in the name of the app developer for "companyname".

aleksey
  • 413
  • 4
  • 8
  • I think this is the best way since it opens the App Store directly, goes to your company name, doesn't use http which causes redirects AND the URL doesn't have the country code in it. This is important. Let the device set the store and show what can be downloaded. – B-Money Sep 02 '13 at 17:26
1

Here's the latest answer with a link to Apples Dev guidelines and examples.

// Goes to App Store
NSString *iTunesLink = @"itms-apps://itunes.com/apps/gameloft/";  
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];

How to Launch App store from iOS Application

How Apple says to do it - Company Store link

B-Money
  • 1,040
  • 10
  • 12
  • 1
    Links are still valid and useful, but (as of late 2013) use `http://itunes.apple.com`-based URLs (rather than `itms-apps://...`); e.g.: `https://itunes.apple.com/us/artist/id284417353?mt=8` for Apple's own page. To determine your own company's URL, go to any of your apps in Tunes, right-click on your company name below the app title, and select `Copy Link`. – mklement0 Dec 11 '13 at 21:02
  • Yes true, thanks. Things change in iOS-land every year. Watch for depreciation always. – B-Money Mar 14 '15 at 15:57
0

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
  • 28,040
  • 10
  • 64
  • 64
  • 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é Jun 29 '09 at 21:46
0

The answer by @JohnFricker worked best for me. Although it's worth noting that I had to remove all spaces and punctuation from the developer name. I tried it with spaces removed but not punctuation and it still didn't work.

ScottF
  • 565
  • 6
  • 21
0

Using the previous answers as guidelines, I did the following:

  1. Google an example app from your company and bring it up as an iTunes preview page (example: https://itunes.apple.com/gb/app/facebook/id284882215?mt=8)
  2. In the top right of that page, right click the link entitled "View more by this developer" and copy that link (example: https://itunes.apple.com/gb/artist/facebook-inc./id284882218)
  3. You can then change it so that it uses itms-apps instead of https, as below:

    itms-apps://itunes.apple.com/gb/artist/facebook-inc./id284882218
    

When used in app this will open up the App Store on a nice page with your company name at the top and all the apps listed below. You can copy and paste the link into the address bar of mobile Safari to see a preview of it in the App Store without having to delve into any code.

Jarada
  • 181
  • 1
  • 1
  • 9
  • This is close, but having the "gb" in the URL is bad for global apps in multiple regions. You want a URL that goes to the page and the device is already set to that region and you get the correct app. – B-Money Sep 02 '13 at 17:30
0

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?

Community
  • 1
  • 1
Sixten Otto
  • 14,816
  • 3
  • 48
  • 60
-1

I think the Apple sample code has a bug. Change

self.iTunesURL = [response URL];

to

self.iTunesURL = [request URL];
-2

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