facebook-ios-sdk
facebook-ios-sdk copied to clipboard
Share Link By ShareDialog With Model Showing Is Wrong
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing GitHub issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
13.3
Facebook iOS SDK version
14.0.0
Dependency Manager
Building from Source
SDK Framework
Share
Goals
i want share web link to facebook app
Expected results
The editor view show url card and other info
Actual results
ShareDialog.model = native
The editor view is empty like this

ShareDialog.model = shareSheet
The editor view has url card

Steps to reproduce
- iOS install new version app
- use project share some link to facebook
Code samples & details
guard let url = URL(string: "https://developers.facebook.com") else {
return
}
let content = ShareLinkContent()
content.contentURL = url
let dialog = ShareDialog(
viewController: self,
content: content,
delegate: nil
)
dialog.mode = .native // The editor view is empty
dialog.mode = .shareSheet // has url card
dialog.show()
+1
We have noticed that the quote parameter is not populating anymore in this same scenario as well.
Currently on FB SDK version 12.1.0.
+1
Thanks for reporting this issue. The fix will be included in the upcoming Facebook app version 375
Facebook app now is version 376, maybe this issue can be closed?