Share on facebook when app is not configured
<p>I want post something on Facebook. I have used <code>SLComposeViewController</code> for that. I just want to ask how can i share if user hasn't configured its app in phone.
Is there any way that I open it in browser and then post anything. <strong>Consider I want to post any string say "hello there" . So i keep this string , open safari and login there . After I am logged in the string is posted automatically</strong></p>

<pre><code>if SLComposeViewController.isAvailableForServiceType(SLServiceTypeFacebook) {
            let fbShare:SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeFacebook)
            fbShare.completionHandler = {
                result in
                switch result {
                case SLComposeViewControllerResult.Cancelled:
                    //Code to deal with it being cancelled
                    break

                case SLComposeViewControllerResult.Done:
                    //Code here to deal with it being completed
                    break
                }
            }
        refrenceViewController.presentViewController(fbShare, animated: true, completion: nil)

    } else {
        //open safari and post it there
    }
</code></pre>