facebook-ios-sdk icon indicating copy to clipboard operation
facebook-ios-sdk copied to clipboard

Share Link By ShareDialog With Model Showing Is Wrong

Open PurpleSweetPotatoes opened this issue 3 years ago • 5 comments

Checklist before submitting a bug report

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 IMG_70462E7A318C-1

ShareDialog.model = shareSheet The editor view has url card IMG_816C73D1D138-1

Steps to reproduce

  1. iOS install new version app
  2. 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()

PurpleSweetPotatoes avatar Jun 30 '22 07:06 PurpleSweetPotatoes

+1

zhangxiongwen avatar Jun 30 '22 10:06 zhangxiongwen

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.

Strobocop avatar Jul 01 '22 21:07 Strobocop

+1

lishuanghenu avatar Jul 06 '22 02:07 lishuanghenu

Thanks for reporting this issue. The fix will be included in the upcoming Facebook app version 375

carolineli avatar Jul 07 '22 18:07 carolineli

Facebook app now is version 376, maybe this issue can be closed?

jianpx avatar Jul 21 '22 11:07 jianpx