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

			
			createUI(
				{label: "Connect", 					handler: onBtnConnect},
				
				// You don't need to be connected to use those functionalities
				// it will call the native app or mFacebook in a webview

			
			trace(JSON.stringify(data));
			
		}
		
		private function onBtnShareOGAction(e:Event):void
		{
			var ogObject:Object = {
				object:"http://freshplanet.com"
			};
			
			Facebook.getInstance().requestWithGraphPath("me/books.reads", ogObject, 'POST');
		}
		
		
