我使用facebook sdk工作得很好,除了委托“sharerDidCancel:(id)sharer”.
当我用本机对话框FB应用取消我的共享时,代理“sharer:(id)sharer didCompleteWithResults:(NSDictionary *)results”总是被调用?因此,当他们发布或取消对话框共享时,我无法处理我的用户,这是Facebook SDK for IOS的错误吗?
谢谢你的帮助!
解决方法
我刚刚浏览了Facebook SDK文档并找到了
this:
sharer:didCompleteWithResults: when the user successfully shares. Furthermore there will also be a postId key in the results dictionary if the user gave the app publish_actions permissions. If that user has not logged in with Facebook Login,this method will also be called if the user clicks on Cancel.