是否有可能深入链接到iOS上的Facebook移动应用程序中的特定页面或位置?

是否有可能在我的移动应用程序中包含一个链接,将本地Facebook应用程序打开到特定的页面,事件,post或其他位置?

谢谢,瑞安

fb://profile – Open Facebook app to the user's profile fb://friends – Open Facebook app to the friends list fb://notifications – Open Facebook app to the notifications list (NOTE: there appears to be a bug with this URL. The Notifications page opens. However, it's not possible to navigate to anywhere else in the Facebook app) fb://feed – Open Facebook app to the News Feed fb://events – Open Facebook app to the Events page fb://requests – Open Facebook app to the Requests list fb://notes- Open Facebook app to the Notes page fb://albums – - Open Facebook app to Photo Albums list 

例如

  fb://post/(postId) 

然后像这样打电话:

 NSURL *url = [NSURL URLWithString:@"fb://<insert function here>"]; [[UIApplication sharedApplication] openURL:url]; 

来源与LOTS更多的例子: http : //wiki.akosma.com/IPhone_URL_Schemes#Facebook