 			
 		}
 		
+		private function onBtnDisconnect(e:Event):void
+		{
+			Facebook.getInstance().closeSessionAndClearTokenInformation();
+		} 
+		
 		// ------------------
 		// showing dialogs
 		private function onBtnShareStatus(e:Event):void

			
			trace(JSON.stringify(data));
			
		}
		
		

			
			createUI(
				{label: "Connect", 					handler: onBtnConnect},
				
				{label: "Disconnect",				handler: onBtnDisconnect},
				
				// you need to be connected to call this one
				{label: "Share opengraph object (old version)", handler: onBtnShareOGAction},
				
				// You don't need to be connected to use those functionalities
				// it will call the native app or mFacebook in a webview
