iTunes Affiliate Links in iPhone App

Discussion in 'iOS Programming' started by macuser1997, Mar 5, 2009.

  1. macuser1997
    Expand Collapse
    macrumors member

    Jan 6, 2009
    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. Steely1
    Expand Collapse
    macrumors newbie

    Apr 7, 2009
    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. fishkorp
    Expand Collapse
    macrumors demi-god


    Apr 10, 2006
    Ellicott City, MD
    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