0
試圖從iPhone應用程序更新Facebook狀態,它更新狀態第一次,但第二次失敗給錯誤消息iphone Facebook狀態更新失敗,第二次
(com.facebook.sdk error5.)
Error: HTTP status code: 400
我使用他們的示例代碼,這是
NSString *message = [NSString stringWithFormat:@"Check Out location at my App"];
[FBSession openActiveSessionWithPermissions:[NSArray arrayWithObject:@"publish_actions"] allowLoginUI:YES
completionHandler:^(FBSession *session,
FBSessionState status,
NSError *errr)
{
[ FBSession setActiveSession:session];
// session might now be open.
if (FBSession.activeSession.isOpen) {
[FBRequestConnection startForPostStatusUpdate:message
completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
[self showAlert:message result:result error:error];
}];
}
}];
當我嘗試reupdate狀態它失敗給上述 提到的錯誤我開發的iOS 5
是的,這是問題 –