I am trying to share link on FB via FBSDKShareLink
and I am providing a dynamic url to content.contentURL
for callback to open my app. Now when I share on FB, the link always shows fb.me
as content title and content discription. Can anyone guide me how to stop this?
let content: FBSDKShareLinkContent = FBSDKShareLinkContent()
let userInfo : AnyObject = LocalStore.userDetails()!
let iosLink = responseDictionary?["fb_link"] as? String
let name = userInfo["name"] as? String
content.contentURL = NSURL(string: iosLink!)!
content.contentTitle = "click it"
content.contentDescription = "My Custom Description"
content.imageURL = NSURL(string: "http://weknowyourdreams.com/images/dog/dog-07.jpg")!
FBSDKShareDialog.showFromViewController(self, withContent: content, delegate: self)