ShareKit + Facebook authentication not working

送分小仙女□ 提交于 2019-12-07 16:10:26

问题


I'm using ShareKit to post to Facebook from a PhoneGap app which I'm working on. I created the app in Facebook and installed the plugin in my project. Twitter works fine, but I get the following error when I try to share on Facebook:

" Error: Sorry the application you are using is misconfigured for Facebook integration. Please download the newest version of the application. "

I've seen a couple posts that seem to describe this same problem, but the "solutions" involve not using ShareKit and instead integrating manually. This isn't a solution!

Has anyone figured this out?

More details: ShareKit v0.2.1 Xcode: v4.3.1 PhoneGap (aka Cordova) v1.5.0


回答1:


Unfortunately the original ShareKit from Nate Weiner doesn't get frequently updated. Maybe you should check out ShareKit 2.0. I didn't have any problems integrating it in my app. At least Twitter and Facebook where no problems, that's all I use for the moment.




回答2:


go to class facebook.m and change the authorization to NO as mention below:

  • (void)authorize:(NSArray *)permissions { self.permissions = permissions;

    [self authorizeWithFBAppAuth:NO safariAuth:NO]; }



来源:https://stackoverflow.com/questions/9951292/sharekit-facebook-authentication-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!