View Full Version : iTunes Affiliate Links in iPhone App

Mar 5, 2009, 08:57 PM
I'm creating a music information app, and want to include links to songs in the iTunes store. Anyone have information about how to songs directly in the iTunes app on an iPhone? Or how to use the iTunes affiliate program in an iPhone app?


Apr 7, 2009, 07:27 PM
Did anyone ever answer your question (e.g. in a PM)? I was wondering the same thing. The Tap Tap Revenge app from Tapulous appears to do this...

Apr 7, 2009, 07:50 PM
You can just do something like when you press a button have it execute this:

NSURL *url = [[NSURL alloc] initWithString:@"YOUR_AFFILIATE_LINK_HERE"];
[[UIApplication sharedApplication] openURL:url];
[url release];

What that will do is open Safari with your LinkShare affiliate link, then that will open up the iTunes app and take the user to the song/album/artist/whatever you linked to.