'Unexpected end of input' error emitted when using Streaming filter with follow #16

raja opened this Issue Aug 2, 2012 · 1 comment


None yet
2 participants

raja commented Aug 2, 2012

Minor issue with streaming filter.

twitter.filter({ follow: userList.join(",") }, function(stream) {....

It works fine but I have noticed an error is being emitted frequently: SyntaxError: Unexpected end of input

Using track with keywords instead of follow with user ids doesn't emit this error.


impronunciable commented Aug 2, 2012

Maybe is an error there but twitter sends "trash" messages often that the json parser cannot parse. Anyway please check that you are really sending an array of user ids (not screen_names).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment