So I am trying to link to a Facebook page on iOS6 from my app using
NSString* urlString = @"https://www.facebook.com/vioside";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: urlString]];
This opens up the Facebook app successfully but it doesn't go on my page. Anyone has an idea on how to link properly on iOS6?
The problem is that you may not use the short name. It has to be the 'id' for it to work currently.
iOS6 and facbook URLs not opening correctly in facebook app
I fixed this myself by removing the 'www' from the url. It's funny but with the 'www' is only opens the Facebook app, after removing it, safari is opened instead and views the proper page. Maybe it's an iOS6 bug but this worked for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With