Processing Twitter's Streaming API in .NET (with under 10 lines of code)(mikebosch.net)
mikebosch.net
Processing Twitter's Streaming API in .NET (with under 10 lines of code)
http://mikebosch.net/2011/01/processing-twitter-streaming-api-in-net/
2 comments
I'm hoping to build off of this but its the bare minimum to start processing the API. Of course, I'll be adding some queuing and analysis on top of this.
The Microsoft samples don't seem to do this, but consider putting your WebResponse and StreamReader objects in 'using' blocks: these classes implement IDisposable to ensure orderly cleanup.