ios – 随机随机“facebookErrDomain error 10000”

我正在使用最新的Facebook IOS SDK,当我使用requestWithGraPHPath时,我正在随机使用“facebookErrDomain error 10000”。我可以触发UI的请求,有时它运行正常,有时它给我的错误。

有没有人遇到类似的问题?

返回的错误对象有关于发生了什么的细节。
我建议实施这个方法来获得更多的信息:

- (void)request:(FBRequest *)request didFailWithError:(NSError *)error {
    NSLog(@"%@", [error localizedDescription]);
    NSLog(@"Err details: %@", [error description]);
};

例如,我的问题给我这个信息,我已经修复了:

2011-05-27 11:19:57.313 Challengein[7704:207] The operation couldn’t be completed. (facebookErrDomain error 10000.)
2011-05-27 11:19:57.314 Challengein[7704:207] Err details: Error Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0x6878b90 {error=<CFBasicHash 0x6879be0 [0x141c400]>{type = mutable dict, count = 2,
entries =>
    2 : <CFString 0x6877f70 [0x141c400]>{contents = "type"} = <CFString 0x686f9a0 [0x141c400]>{contents = "OAuthException"}
    3 : <CFString 0x686d610 [0x141c400]>{contents = "message"} = <CFString 0x686f970 [0x141c400]>{contents = "(#100) picture URL is not properly formatted"}
}
}
翻译自:https://stackoverflow.com/questions/4950337/getting-random-facebookerrdomain-error-10000

转载注明原文:ios – 随机随机“facebookErrDomain error 10000”