 
 		public static const NS:String = "urn:ietf:params:xml:ns:xmpp-sasl";
 
-		public static var fb_api_key:String;
-		public static var fb_secret:String;
-		public static var fb_session_key:String;
+		public static var fb_app_id:String;
+		public static var fb_access_token:String;
 
 		/**
 		 * Creates a new XFacebookPlatform authentication object.

			}

			var responseMap:Dictionary = new Dictionary();
			responseMap.api_key = fb_api_key;
			responseMap.call_id = new Date().time;
			responseMap.method = challengeMap.method;
			responseMap.nonce = challengeMap.nonce;
			responseMap.session_key = fb_session_key;
			responseMap.v = "1.0";
			responseMap.sig = formatSig( responseMap );

			var challengeResponse:String = "api_key=" + responseMap.api_key;
			challengeResponse += "&call_id=" + responseMap.call_id;
			challengeResponse += "&method=" + responseMap.method;
			challengeResponse += "&nonce=" + responseMap.nonce;
			challengeResponse += "&session_key=" + responseMap.session_key;
			challengeResponse += "&sig=" + responseMap.sig;
			challengeResponse += "&v=" + responseMap.v;
			challengeResponse = Base64.encode( challengeResponse );

			var resp:XML = response;

			response.setNamespace( XFacebookPlatform.NS );

			stage = 0;
		}

		/**
