You are trying to access a streaming API Streaming APIs do not specify a Content-Length response header. They are continuously writing to the response. So you should use asynchronous API to access it.
For example you could use a WebClient: class Program { static void Main() { using (var client = new WebClient()) { client. Credentials = new NetworkCredential("username", "password"); client. OpenReadCompleted += (sender, e) => { using (var reader = new StreamReader(e.
Result)) { while (!reader. EndOfStream) { Console. WriteLine(reader.ReadLine()); } } }; client.
OpenReadAsync(new Uri("https://stream.twitter. Com/1/statuses/filter. Json?
Follow=12,13")); } Console.ReadLine(); } } and the VB. NET equivalent: Sub Main() Dim client = New WebClient() client. Credentials = New NetworkCredential("username", "password") AddHandler client.
OpenReadCompleted, Sub(sender, e) Using reader = New StreamReader(e. Result) While Not reader. EndOfStream Console.
WriteLine(reader.ReadLine()) End While End Using End Sub client. OpenReadAsync(New Uri("https://stream.twitter. Com/1/statuses/filter.
Json? Follow=12,13")) Console.ReadLine() End Sub.
You are trying to access a streaming API. Streaming APIs do not specify a Content-Length response header. They are continuously writing to the response.So you should use asynchronous API to access it.
For example you could use a WebClient: class Program { static void Main() { using (var client = new WebClient()) { client. Credentials = new NetworkCredential("username", "password"); client. OpenReadCompleted += (sender, e) => { using (var reader = new StreamReader(e.
Result)) { while (!reader. EndOfStream) { Console. WriteLine(reader.ReadLine()); } } }; client.
OpenReadAsync(new Uri("https://stream.twitter. Com/1/statuses/filter. Json?
Follow=12,13")); } Console.ReadLine(); } } and the VB. NET equivalent: Sub Main() Dim client = New WebClient() client. Credentials = New NetworkCredential("username", "password") AddHandler client.
OpenReadCompleted, Sub(sender, e) Using reader = New StreamReader(e. Result) While Not reader. EndOfStream Console.
WriteLine(reader.ReadLine()) End While End Using End Sub client. OpenReadAsync(New Uri("https://stream.twitter.Com/1/statuses/filter. Json?
Follow=12,13")) Console.ReadLine() End Sub.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.