Search code examples
iosfacebookcordovaphonegap-pluginscordova-plugins

Cordova SocialSharing Plugin - Facebook Callback Error


I've been using the SocialSharing plugin in my Cordova app for many months and it's been working great, and I rely on its FB Sharing's callback functionality to track if people shared a post.

However, I just discovered that the callback stopped working correctly on iOS 8.1.

When I click on the "Cancel" in the FB dialog popup, the plugin calls the success function and returns "true" as the parameter. Previously it would call the success callback, but pass in a "false" parameter, so I'd be able to determine if it was "Cancel" or "Post" button that the user clicked on.

I have tried updating to the latest version of the plugin, but it still fails on my iPhone 6 running iOS 8.1.

If I test it on my iPad running iOS 7, the Cancel button works fine. Can someone please advise on how to resolve it?

Below is the SocialSharing plugin official page: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

Thank you.


Solution

  • This issue has been solved as of today, when Facebook updated their app. To resolve the problem, user needs to update the Facebook app.

    Further details are available at this Facebook bug report: https://developers.facebook.com/bugs/962985360399542/