0

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.

Jacob
  • 1,310
  • 1
  • 15
  • 29
  • Have you added in the fb:// ? Surely you should just be making a request to http://www.facebook.com/YOURPAGENAME Did you lift this from elsewhere and can you share more of the code? – TommyBs Dec 09 '11 at 15:42
  • Added my method above and made an username for my page. – Jacob Dec 09 '11 at 15:55
  • http://stackoverflow.com/questions/7918990/fb-url-scheme-official-or-not – Igy Dec 09 '11 at 15:59
  • @Igy - I do not understand how that is going to help me, but thanks for trying :) – Jacob Dec 09 '11 at 16:14

0 Answers0