2013-02-05 165 views

回答

1

你可以使用Feed對話框。我認爲FB將不得不保持這種狀態。我的應用程序現在正在使用它們。

https://developers.facebook.com/docs/howtos/feed-dialog-using-ios-sdk/

- (IBAction)publishButtonAction:(id)sender { 
    // Put together the dialog parameters 
    NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: 
            @"Facebook SDK for iOS", @"name", 
            @"Build great social apps and get more installs.", @"caption", 
            @"The Facebook SDK for iOS makes it easier and faster to develop Facebook integrated iOS apps.", @"description", 
            @"https://developers.facebook.com/ios", @"link", 
            @"https://raw.github.com/fbsamples/ios-3.x-howtos/master/Images/iossdk_logo.png", @"picture", 
            nil]; 

    // Invoke the dialog 
    [self.facebook dialog:@"feed" andParams:params andDelegate:self]; 

    // (here's another typical example of how to call that...) 
    [FBWebDialogs presentFeedDialogModallyWithSession: 
      YourFBSessionClass.activeSession 
      parameters: params 
      handler: nil]; 
} 
+0

這是否也適用於朋友? –