Multiple Media Upload


HI, I have been trying to upload multiple images with a tweet, but haven’t had success so far. I uploaded images successfully to the twitter by sending post request to upload.json and got media_ids prepared with comma separated media ids. However, I am not able to see any image link appearing against my tweet after sending a status update. Following is the code snippet of what i have been doing -

request.ContentType = “application/x-www-form-urlencoded”;
request.ServicePoint.Expect100Continue = false;
request.Method = “POST”;
using (Stream stream = request.GetRequestStream())
Byte[] streamContent = Encoding.UTF8.GetBytes(“status=” + PercentEncode(message) + “&trim_user=” + PercentEncode(“1”));
stream.Write(streamContent, 0, streamContent.Length);
Byte[] streamContent1 = Encoding.UTF8.GetBytes(“trim_user=” + PercentEncode(“1”));
stream.Write(streamContent1, 0, streamContent1.Length);
Byte[] streamContent2 = Encoding.UTF8.GetBytes(“media_ids” + PercentEncode(mediaIds));
stream.Write(streamContent1, 0, streamContent1.Length);

                HttpWebResponse webResponse = (HttpWebResponse)request.GetResponse();

                string contents = "";
                using (Stream stream = webResponse.GetResponseStream())

The code above updates the status without any issues, but doesnt show any uploaded images.