In my app I have a button. Pressing the button takes me to the Facebook app with the scheme: fb://
. But I want to have a scheme to link to my facebook page. fb://page/MYPAGENAME
doesn't work or am I doing it wrong? Help is much appreciated!
Edit This is what the method looks like now:
- (IBAction)facebookButton:(id)sender
{
NSURL *url = [NSURL URLWithString:@"fb://MYPAGENAME"];
[[UIApplication sharedApplication] openURL:url];
}
I've added a username to my page now.