emersonthis
emersonthis

Reputation: 33398

ShareKit + Facebook authentication not working

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

Upvotes: 3

Views: 3147

Answers (2)

Ramel singh Rana
Ramel singh Rana

Reputation: 61

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]; }

Upvotes: 4

Andy Friese
Andy Friese

Reputation: 6509

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.

Upvotes: 2

Related Questions