2012-06-22 6 views

答えて

10
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) 

次に、このように呼び出す:LOTSより多くの例と

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

出典:http://wiki.akosma.com/IPhone_URL_Schemes#Facebook

+0

これは、iOS 6で動作していないよう - FB:// ***のFacebookを開き、アプリケーションですが、指定されたコンテンツではありません。 – Jamie

+0

うん、iOS6とFacebookの統合はfacebookのURLスキームのほとんどを破った。 – danielbeard

+1

ビジネスページはどうですか?通常はwww.facebook.com/mybusinessとなります。 – QED