Open facebook Messenger Android error: Some dialogs are only supported starting API 14
See original GitHub issueHi everyone!
I’m opening a Facebook Messenger dialog with the following code:
MessageDialog.canShow(this.state.messageContent).then(function(canShow) {
return MessageDialog.show(tmp.state.messageContent);
}).then(function(result) {
if (typeof result == "undefined")
return;
if (result.isCancelled) {
alert('Share operation was cancelled');
} else {
alert('Share was successful with postId: ' + result.postId);
}
},
function(error) {
alert('Share failed with error: ' + error);
}
);
This works fine on Android 4, but not on Android 6. I get the following error message: “Share failed with error. Error: Unable to show the provided content via the web or the installed version of the Facebook app. Some dialogs are only supported starting API 14.”
The latest version of the Facebook app is installed on the device and I’m using the latest facebook SDK (4.17).
Any help or fix would be greatly appreciated.
Many thanks.
Raphael
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Open facebook Messenger Android error: Some dialogs are ...
I'm opening a Facebook Messenger dialog with the following code: MessageDialog.canShow(this.state.messageContent).then( function(canShow) { ...
Read more >share sdk can not call native fb app - Meta for Developers
I'm using share dialog to share a photo but not every device can open native fb app. some can share normally, but some...
Read more >Android - Sharing - Meta for Developers
Sharing on Android. This guide explains how to enable users of your Android app to share from your app to Facebook. When someone...
Read more >Changes to our Developer Offerings - Meta for Developers
App Invites: App Invites will no longer be supported starting with Facebook SDK version 4.28 and above. Previous versions of the SDK can...
Read more >Getting Started - Facebook SDK for Android - Documentation
Quick Start · Get Your App ID · Get Your Client Token · Understand the Advertising ID Permission · Android Studio Setup ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No one has a clue? Am I not posting in the right place? Any comment would help a lot. Many thanks!
I think this is part of https://github.com/facebook/react-native-fbsdk will check how I can help.