Hi Javier
Actually the streaming doesn’t stop, Its just that running code does not receive any tweets since there are not people tweeting about the keyword.
I wonder if there is any way to gracefully close the streaming connection and open a new one. I am doing sentiment analysis of tweets and I run my python code from command line. I could not find a way to stop my code other than to break it abruptly (CTRL+c) which is not a good thing.
Hi Sean,
I am using tweepy(python library) to open a new connection to streaming API
stream.filter(track=[sys.argv[1]], encoding=‘utf-8’)
like so