1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

iTunes Affiliate Links in iPhone App

Discussion in 'iPhone/iPad Programming' started by macuser1997, Mar 5, 2009.

  1. macrumors member

    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?

  2. macrumors newbie

    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...
  3. macrumors demi-god

    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.

Share This Page