So, I'm working on an iPhone application that I hope to make my money off of via redirects to iPhone games using Apple's link synergy program. Problem is, the links are generating too many redirects and safari is saying "Safari can't open the page because too many redirects occurred". My code is quite simple:
NSURL *toOpen=[NSURL URLWithString:@"http://click.linksynergy.com/fs-bin/click?id=rSBwlRaBsug&offerid=146261.710610416&type=10&subid="];
[[UIApplication sharedApplication] openURL:toOpen];
I'm using the application they send you too using the link synergy program, but the links just won't work on the iPhone. Is there another link generator for the iphone or is there a way to link directly to iTunes but still get the 5% referral?