     func postToTwitter(#stringToPost: String, postWithScreenshot: Bool) {
         
         if SLComposeViewController.isAvailableForServiceType(SLServiceTypeTwitter) {
-        
+            
             var twitterViewController: SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeTwitter)
             twitterViewController.setInitialText(stringToPost + " \(defaultURL)")
             

            }
            
            CCDirector.sharedDirector().presentViewController(facebookViewController, animated: true, completion: nil)
        }
    }
    

            }
            
            CCDirector.sharedDirector().presentViewController(twitterViewController, animated: true, completion: nil)
        } else {
            var error = UIAlertView()
            error.title = "ERROR"
            error.message = "No Twitter Account Present"
            error.addButtonWithTitle("Ok")
            error.show()
        }
    }
    
