HelloFacebookSample演示中的(com.facebook.sdk错误5.)

时间:2013-05-27 08:45:47

标签: ios facebook sample

我安装了最新的3.5.1 Facebook sdk,并运行HelloFacebookSample示例,得到此错误。

可能是网络问题,我改变了我的网络。问题仍然存在。

> FBLoginView encountered an error=Error Domain=com.facebook.sdk Code=5 "
> The operation couldn’t be completed. (com.facebook.sdk error 5.)" UserInfo=0x9478eb0 
> {com.facebook.sdk:ErrorInnerErrorKey=Error Domain=NSURLErrorDomain Code=-1202 "
> The certificate for this server is invalid. 
> You might be connecting to a server that is pretending to be “graph.facebook.com” which could put your confidential information at risk." UserInfo=0x9487810 

> {NSErrorFailingURLStringKey=https://graph.facebook.com/me?sdk=ios&migration_bundle=fbsdk%3A20130409&format=json&access_token=CAAFDDRlIT2wBABhZCkQEYkQUT7ierG3pnw8O70QwZBJbda6m4KHDiJ4FUDsf8xo4Wy4MCjDrvx6DSxD1QTfWIS1EL7Uty7p8yiOxZBaF3LZBW9tmyA4nWUunLMDkvoaSkMy1AZCLLraZBCVGPYO7D19DQsc4Bu7QjPfVs6jiTZAeQZDZD, 
> NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, 
> NSErrorFailingURLKey=https://graph.facebook.com/me?sdk=ios&migration_bundle=fbsdk%3A20130409&format=json&access_token=CAAFDDRlIT2wBABhZCkQEYkQUT7ierG3pnw8O70QwZBJbda6m4KHDiJ4FUDsf8xo4Wy4MCjDrvx6DSxD1QTfWIS1EL7Uty7p8yiOxZBaF3LZBW9tmyA4nWUunLMDkvoaSkMy1AZCLLraZBCVGPYO7D19DQsc4Bu7QjPfVs6jiTZAeQZDZD, 
> NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “graph.facebook.com” which could put your confidential information at risk., 
> NSUnderlyingError=0xa454f20 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “graph.facebook.com” which could put your confidential information at risk.", 
> NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x947acb0>}, 
> com.facebook.sdk:HTTPStatusCode=200, 
> com.facebook.sdk:ErrorSessionKey=<FBSession: 0x13c542e0, state: FBSessionStateOpen, loginHandler: 0x9478ef0, appID: 355198514515820, urlSchemeSuffix: , 
> tokenCachingStrategy:<FBSessionTokenCachingStrategy: 0x947dc90>,
> expirationDate: 2013-07-26 03:08:40 +0000,
>  refreshDate: 2013-05-27 05:55:46 +0000, 
> attemptedRefreshDate: 0001-12-30 00:00:00 +0000, permissions:(
>)>}

Facebook样本有什么问题?

更多

相同的Facebook登录代码上个月成功运行。从上周开始,我以前的所有项目都没有登录Facebook。

0 个答案:

没有答案