Actionscript Use Twitter API update with media ,OAuth authentication is successful, how the data package?


#1

var postRequest:OAuthRequest = new OAuthRequest(OAuthRequest.HTTP_MEHTOD_POST,twitterPostUrl,{status:taStatus.text,“media[]”:Base64.encodeByteArray(file.data)},consumers,token);
var urlRequest:URLRequest=new URLRequest(postRequest.buildRequest(new OAuthSignatureMethod_HMAC_SHA1()));
urlRequest.method = URLRequestMethod.POST;

		urlRequest.url=urlRequest.url.replace("&status=" +URLEncoding.encode(params.status),"");
		urlRequest.url = urlRequest.url.replace(/&media(.*)/,"");
		
		urlRequest.data=new URLVariables("status=" +taStatus.text+"&media[]="+Base64.encodeByteArray(file.data));
		

		var loaders:URLLoader = new URLLoader(urlRequest);

errorID=2032;OAuth authentication is successful, how the data package?