Alex Rivera | Logout

Custom URL scheme for new Facebook iOS app

Asked 2012-08-25T21:24:38.847
21

Does anyone know what the custom URL scheme is to open a Facebook page in their new iOS app. I was using fb://page/PAGE_ID however this doesn't seem to be working in the recently updated Facebook iOS app, it just opens the app but doesn't go to the required page.

Edit
Report

2 Answers

26

I got this answer at developer.facebook.com:

Replace the word page with profile and it will work. Your new statement will be:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"fb://profile/247377102029332"]];
answered 2012-09-10T17:23:33.820
6

Same problem here. fb://page/PAGE_ID is not working anymore. Note that fb://profile/(fbid) wasn't working properly on Facebook 4.x returning a "corrupted" page in both iPad and iPhone. Instead, fb://profile/(fbid)/wall in Facebook 4.x worked well when using an iPad but didn't work with an iPhone.

fb://page/PAGE_ID was the only option that worked on both iPhone and iPad, based on my experience.

I used to use http://wiki.akosma.com/IPhone_URL_Schemes as reference, but it's currently down...

answered 2012-08-27T09:12:11.813

Your Answer