Sep 6, 2013 at 11:41 PM
Edited Sep 6, 2013 at 11:49 PM
This project is great and I'm really interested in the FilteredStream functionality.
I've got it working with the test console application largely without issue.
As an fyi, I have downloaded the Visual Studio project and am working with the example console application.
From the Main() method, I am using the StreamFilterExample(token) function. From there I am trying to customize the console output with more information about the tweet using the example ProcessTweet(ITweet tweet) function in the Examplinvi project. All of
this is pretty straight forward and I'm simply attempting to output more attributes about a tweet.
Where I am encountering an unexpected behavior when I attempt to access the tweet.HashTags or tweet.Urls collections of a tweet in the ProcessTweet function - these collections are always null even when there are hash tags or urls in the tweet text. Additionally,
the tweet.Entities.HashTags and tweet.Entities.Urls collections are also null.
As an example, here is a snippet of code that I've added to the ProcessTweet function and during execution it never gets past the first if statement:
if (tweet.Urls != null)
if (tweet.Urls.Count > 0)
foreach (IUrlEntity url in tweet.Urls)
Am I missing something or doing something wrong? If you could point me in the right direction, that would be greatly appreciated.
Thanks for your project! I look forward to your reply and thank-you for your time.