我正在使用FBgraph API
,现在我想在一行中打印错误消息,如
(#341)已达到Feed动作请求限制
以下是FBgraph API的回复:
Error Domain=facebookErrDomain Code=10000 "The operation couldn’t be completed. (facebookErrDomain error 10000.)" UserInfo=0x6b273c0 {error=<CFBasicHash 0x6b26560 [0x1c91b48]>{type = mutable dict, count = 3,
entries =>
2 : <CFString 0x6b26380 [0x1c91b48]>{contents = "type"} = <CFString 0x6b26990 [0x1c91b48]>{contents = "OAuthException"}
3 : <CFString 0x6b26930 [0x1c91b48]>{contents = "message"} = <CFString 0x6b268d0 [0x1c91b48]>{contents = "(#341) Feed action request limit reached"}
6 : <CFString 0x6b271d0 [0x1c91b48]>{contents = "code"} = 341
}
}
请帮助。
答案 0 :(得分:0)
我相信该请求带有您可以阅读的3种不同类型的错误消息。 错误 [Error localizedDescription] [错误描述]
其中一个可能会为您提供所需的行。
哦,还有[错误userinfo]