How to implement iOS app link Facebook functionality in swift 3?
I have tried many ways to achieve this but failed. I have to share info on facebook with a URL and when clicked on the url, it will redirect to my app's specific page. step# 1 let content: FBSDKShareLinkContent = FBSDKShareLinkContent() content.contentURL = NSURL(string: linkUrl) as URL! content.contentTitle = "Test" content.quote = "game" content.contentDescription = "This is a test game to test Fb share functionality" content.imageURL = NSURL(string: imgUrl) as URL! let dialog: FBSDKShareDialog = FBSDKShareDialog() dialog.mode = FBSDKShareDialogMode.native dialog.fromViewController = vc