2011-05-04 89 views

回答

4

不要使用

[Facebook的對話框:@ 「飼料」 andParams:PARAMS andDelegate:自我]。

這條線將彈出的FB-對話,以避免這種先彈出自定義對話框,然後調用上完成按鈕下面的動作(或任何你想將它命名)

- (無效)myCustomDialogPostButtonAction:(的NSString *)味精 {

NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: 
           msg, @"message", 
           nil]; 
[facebook requestWithGraphPath:@"me/feed" 
        andParams:params 
       andHttpMethod:@"POST" 
        andDelegate:self]; 

}

我希望這有助於。