Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

macuser1997

macrumors member
Original poster
Jan 6, 2009
31
0
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?

Thanks.
 

Steely1

macrumors newbie
Apr 7, 2009
1
0
good question

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...
 

fishkorp

macrumors 68030
Apr 10, 2006
2,536
650
Ellicott City, MD
You can just do something like when you press a button have it execute this:
Code:
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.