Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using(var writer = new StreamWriter(@"C:\Users\pepe\Desktop\UserStreamTest.txt")) {
- twitterCtx.UserStream.Where(us => us.Type == UserStreamType.User)
- .StreamingCallback(strm => writer.WriteLine(strm.Content)).Dump();
- System.Threading.Thread.Sleep(30000);
- }
Add Comment
Please, Sign In to add comment