Streaming API issue (Might be multi-threading)


I just want to ask a question about a weird issue that I have been facing. I setup a filtered stream so I can be able to acquire hashtags, and then print out something whenever the hashtag has been posted on twitter. I use two hashtags as my trackers, one which is the actual hashtag, and another one which is a code. Example (#test, #te123). So every time I get those hashtags in a tweet, I reset the code part of the hashtag (#te123 becomes for example #te456), and then I would stop the old stream, create a new one, add the new trackers, and then start a new one in an async manner.

The issue is that it always triggers for the first time, but after that, it would sometimes trigger and sometimes not for some odd reason. Any advice on how to solve this issue ?

Thank you for the help.


PierreJC wrote Mar 3, 2016 at 11:33 AM

Problem solved .. Sorry for the inconvenience. It was a problem happening in between the interaction of my console and windows form.

linvi wrote Mar 3, 2016 at 11:59 AM

No problem.

Please remember that Tweetinvi has moved on github. So please try to open the issues on https://github.com/linvi/tweetinvi/issues.