-
Notifications
You must be signed in to change notification settings - Fork 511
Share Dialog empty #36
Comments
Please use the feed method. Facebook stopped supporting the share method on their latest SDK. This is fixed on the next version.
|
Changed it from "share" to "feed". Now I am getting this in Logcat: "The publish_actions permissions are missing, the share will fail unless this app was authorized to publish in another installation." and only get an instant "Ok" response |
Change the 'href' as 'link' in buildContent function in the file ConnectPlugin.java. |
Same issue here, i've changed from share to feed and nothing gets shared. Using Cordova iOS 3.9.2.
Any help would be appreciated. |
The fix for me was simply to upgrade my Cordova and Android to the latest versions ( Cordova - 5.2.0 & Android 3.6.4). After upgrading there were no more issues with the plugin. |
I'm Running: Cordova 5.3.3 Still not working. |
it's still not working, after two months |
Still empty on device, simulator works fine |
+1 |
I could correct the behaviour by modifying FacebookConnectPlugin.m, adding after line 270 the following:
I followed this solution from SO: http://stackoverflow.com/a/33152056/1738363 It's now sharing description and picture as expected |
@edriang can you send a PR? |
@edriang could you please send a PR using the current codebase? Thanks! |
Like @edriang said, you can force the plugin to not use the app and use the browser instead when sharing, but it sounds more like a hack than a real solution. Also it looks like there's been a new commit since his suggested code: 0078d09 As a temporary fix, I always do |
Having issues as well with the shareDialog on Android:
Cordova 6.1.1
Not sure what is going on... It does post, but there is no link or image. |
Alright! Changing link to href, adds the link/href and changes the share dialog. I still have he post_id issue. |
@allurco: Do you have the Facebook app installed? If yes can you try uninstalling it first and then try sharing again? |
I'm seeing the same problem as the OP (feed dialog without a link) results in the dialog opening, but is completely empty. As the OP's problem appeared to be solved by updating Cordova / Android versions (and I'm way past those recommended versions) is there a chance this has been caused by a regression? I'm building a Meteor / Android app.... Cordova 6, Android 6.0. |
So I am using the following code as per the readme but the dialog is completely empty with no image or any of the text. I did complete the share and entered my own text, which worked, but pointless. The sharing works fine when the native Facebook app is not installed on the device.
Cordova version 5.2.0
Cordova Android version 4.1.1
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: