How to create a custom share button in Facebook SDK
<p>I try to create custom share Button in Facebook SDK, but I have a problem with it. Following Facebook documentation, share Button in my case looks like that:</p>

<pre><code>let content = FBSDKShareLinkContent()
content.contentTitle = "\(postTitle)"
content.contentURL = NSURL(string:"\(www)")

let shareButton = FBSDKShareButton()
shareButton.shareContent = content
shareButton.center = selfview.center
self.view.addSubiview(shareButton)
</code></pre>

<p>it works, but I have a default button, which doesn't look good in my layout. I would like to have a possibility share my content using my own button <code>facebookShareButton: UIButton</code>. Do I have a possibility to call this action in my own button? If yes, how can I do that?</p>