Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Rate limiting #10

Closed
Fabryz opened this Issue · 5 comments

2 participants

@Fabryz

Any way to understand if i'm being blocked by the twitter rate-limit or something?

I'm investigating why after some time the stream suddently stops

@danzajdband
Owner

Are you listening for the 'error' event on the stream object?
If twitter is stopping you, the stream object should emit that event with related information.

Other posiblility is that you are not catching some error and the connection ends. I working on streaming api reconection right now.

@Fabryz

Ok, at the moment I don't see any errors on the log. Will need to witness the point where it stops working
As a workaround I was thinking to make a simple watcher-like function that triggers an autorestart of the stream if N minutes passes and no tweets are received

@danzajdband
Owner
@danzajdband
Owner

I just implemented automatic reconnection. If you want to help with the debugging, welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.