Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: FilteredStream

$
0
0
I am trying to monitor a #tag been tweeted, this isn't specific to any single user, as it is the #tag I am interested in, as I have to perform some other tasks once its received. i though that by using the filteredstream i would be able to get this as i thought it was a public stream, but i am only getting a response when i tweet the #tag, if i get my developer to tweet it i get nothing.

this is the code i am using, it is very basic, and the #tag will be changed once i have found one, and done what needs doing with it.
                TwitterCredentials.SetCredentials("Access_Token","Token_Secret", "Consumer_Key","Consumer_Secret");
            try
            {
                var filteredStream = Tweetinvi.Stream.CreateFilteredStream();
                filteredStream.AddTrack("testing123");
                filteredStream.MatchingTweetReceived += filteredStream_MatchingTweetReceived;
                filteredStream.StartStreamMatchingAllConditions();
                
            }
            catch (Exception excp)
            {

            }
any pointers would be much appreciated, i am maybe misunderstanding the filteredstream function.

Thanks
Lee

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>