I'm using - FBSDKShareKit (4.40.0): I want to share image on facebook. It should be tappable and should open website just like the Endomondo app does.
I've tried this code but url covers photo and they are not displayed:
let sharePhoto = FBSDKSharePhoto()
sharePhoto.image = someImage
let content = FBSDKSharePhotoContent()
content.photos = [sharePhoto];
content.contentURL = URL(string: "https://facebook.com")!
FBSDKShareDialog.show(from: self, with: content, delegate: nil)
How they do that?