FBSDKShareLinkContent is not setting the contentDescription and contentTitle

前端 未结 4 2124
广开言路
广开言路 2021-02-18 21:48

I am trying to share a link on the Facebook using FBSDKShareLinkContent.

I have set the URL, description and title. SDK is automatically populates the titl

4条回答
  •  太阳男子
    2021-02-18 22:12

    FBSDKShareDialogMode sets to FeedBrowser resolves my issue

    let dialog = FBSDKShareDialog()
    dialog.fromViewController = self
    dialog.shareContent = shareLink
    dialog.mode = FBSDKShareDialogMode.FeedBrowser
    dialog.show()
    

提交回复
热议问题