Re: [twitter-dev] Twitter Stream API connection timed out error

2011-02-16 Thread Matt Harris
Hi Zhe Chen, It is possible for the streaming connection to restart or disconnect you. There are a few reasons why this can happen and all are explained in our Streaming API concepts document. Approaches on how to deal with disconnects are also explained in the document. You can find the

[twitter-dev] Twitter Stream API connection timed out error

2011-02-15 Thread Zhe Chen
I will get an error says connection timed out after running my program for many hours. What should I do to avoid this? my $listener = AnyEvent::Twitter::Stream-new( consumer_key= $consumer_key, consumer_secret = $consumer_secret, token = $token, token_secret=