This is my function to monitor tweets. It works just fine but my bot gained more users who use this feature and everytime they add someone to their follow list it runs this function with update = true and it gets all the IDs including the new one and creates new stream. What I'd love is to update the stream IDs without making new one. It wouldn't be an issue but it sometimes takes few minutes to reconnect and it prints into log like 3-10times "Attempting to connect to twitter"
This is my function to monitor tweets. It works just fine but my bot gained more users who use this feature and everytime they add someone to their follow list it runs this function with update = true and it gets all the IDs including the new one and creates new stream. What I'd love is to update the stream IDs without making new one. It wouldn't be an issue but it sometimes takes few minutes to reconnect and it prints into log like 3-10times "Attempting to connect to twitter"