     @IBAction func facebookButtonSender(sender: AnyObject) {
 
             var fbShare:SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeFacebook)
-            fbShare.setInitialText(articleURL)
+            fbShare.addURL(NSURL(string: articleURL))
             self.presentViewController(fbShare, animated: true, completion: nil)
 
     }

    @IBAction func twitterButtonSender(sender: AnyObject) {
       
            var tweetShare:SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeTwitter)
            tweetShare.setInitialText(articleURL)
            self.presentViewController(tweetShare, animated: true, completion: nil)

    }

    @IBOutlet weak var menuBarItem: UINavigationItem!
    
    let transitionManager = MenuTransitionManager()
        
    var articleURL: String = "Article URL\n"
    
    @IBOutlet weak var facebookIcon: UIButton!
