我指的是Facebook上的「ios 3.5如何」。這裏是我的代碼成功FB ShareDialog後如何獲得帖子ID
[FBDialogs presentShareDialogWithParams:params
clientState:nil
handler:
^(FBAppCall *call, NSDictionary *results, NSError *error) {
if(error) {
// If there's an error show the relevant message
[self showAlert:[self checkErrorMessage:error]];
} else {
// Check if cancel info is returned and log the event
if (results[@"completionGesture"] &&
[results[@"completionGesture"] isEqualToString:@"cancel"]) {
NSLog(@"User canceled story publishing.");
} else {
// If the post went through show a success message
[self showAlert:[self checkPostId:results]];
}
}
結果我只得到值爲1的didComplete鍵。我怎樣才能得到post_id?
我已經我只得到didComplete在字典:( – a4arpan