Starting with version 4.0 for Facebook, you can go to pages with this URI scheme:
fb:
Just make sure you check to make sure that the device you are working with can respond to it:
[[UIApplication sharedApplication] canOpenURL:[NSURL urlWithString:@"fb://page/{fbid}"]];
Your method might look something like this:
- (IBAction)openFBPage:(id)sender {
if ([[UIApplication sharedApplication] canOpenURL:[NSURL urlWithString:@"fb://page/{fbid}"]]) {
[[UIApplication sharedApplication] openURL:[NSURL urlWithString:@"fb://page/{fbid}"]];
} else {
NSLog(@"Facebook isn't installed.");
}
... Interface Builder.