iPhone在Facebook上分享照片

时间:2012-11-07 11:20:14

标签: objective-c ios facebook-graph-api

我正在使用Facebook SDK在Facebook上分享照片,它在模拟器上工作正常,但在设备上崩溃了。任何人都可以帮我摆脱这个吗?

崩溃日志:

observeValueForKeyPath:ofObject:change:context: message was received
but not handled. Key path: state Observed object:     FBSession:
0x62a8b10, state: FBSessionStateClosedLoginFailed, loginHandler: 0x0,
appID: 478897658797357, urlSchemeSuffix: ,
tokenCachingStrategy:<FBSessionTokenCachingStrategy: 0x628d1d0>,
expirationDate: (null), refreshDate: (null), attemptedRefreshDate:
0001-12-30 00:00:00 +0000, permissions:( "status_update" )

1 个答案:

答案 0 :(得分:2)

How to Share an Image to facebook?

此链接可以解决您的问题。我遇到了同样的问题,它可能会帮到你。