             next()
         } else {
             let READ_PERMISSIONS = ["public_profile"]
+            CLSLogv("Taking FBPermissions: %@", getVaList([String(READ_PERMISSIONS)]))
             FBSDKLoginManager.init().logInWithReadPermissions(READ_PERMISSIONS, fromViewController: nil) { (result: FBSDKLoginManagerLoginResult!, err: NSError!) -> Void in
                 if err != nil {
                     self.finish_error(command, msg: String(err))

    }
    
    func getName(command: CDVInvokedUrlCommand) {
        withReadPermission(command) { FBSDKProfile.currentProfile().name }
    }
    
    func renewSystemCredentials(command: CDVInvokedUrlCommand) {
        FBSDKLoginManager.renewSystemCredentials { (result: ACAccountCredentialRenewResult, err: NSError!) -> Void in
            if err != nil {
                self.finish_ok(command, msg: String(result))

    }
    
    private func withReadPermission(command: CDVInvokedUrlCommand, proc: () -> String) {
        CLSLogv("Entering withReadPermission: %@", getVaList([String(proc)]))
        func next() {
            CLSLogv("Calling: %@", getVaList([String(proc)]))
            self.finish_ok(command, msg: proc())
        }
        
