I'm trying to simulate UI from Facebook SDK' button on my own UIButton. Actually I designed my button to use for liking Facebook page. For my button .TouchUpInside event I have written a function which makes in stack memory an instance of FBSDKLikeContol button and programatically simulates tapping on it:
let likeButton = FBSDKLikeControl(frame: CGRectZero)
likeButton.objectID = "https://www.facebook.com/<some_id>"
likeButton.performSelectorOnMainThread("_handleLikeButtonTap:", withObject: nil, waitUntilDone: false)
But I have not getting a fullscreen UIWebView for liking/unliking processes still. What I am doing wrong?