简体   繁体   English

ShareKit 2.0:Facebook已通过身份验证

[英]ShareKit 2.0: Facebook already authenticated

I am using ShareKit 2.0 (installed via cocoapods) to post text and image to facebook from my iOS app. 我正在使用ShareKit 2.0 (通过cocoapods安装)将文本和图像从我的iOS应用发布到Facebook。

The problem is it gets stuck in an inifite loop of opening the facebook app, there it displays the autorization page for the app but with the message that it is already authorized. 问题在于,它陷入了打开Facebook应用程序的无限循环中,在其中显示了该应用程序的授权页面,但带有已被授权的消息。

I added the URL scheme for my fb id to the info.plist, I also added the app delegate methods like in the ShareKit wiki. 我将fb ID的URL方案添加到了info.plist中,还添加了诸如ShareKit Wiki中的应用程序委托方法。

What can I do about this? 我该怎么办?

Thanks, Mark 谢谢马克

So the problem was ShareKit isn't compatible with the latest Facebook iOS sdk, which was installed by cocoapods due to no version appended to the dependency. 因此,问题在于ShareKit与最新的Facebook iOS sdk不兼容,该版本由cocoapods安装,因为该依赖项未附加任何版本。 That should now be fixed, so clear your Pods and do pod install again. 现在应该已解决,请清除Pods,然后再次安装Pod。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM