Friday, 7 April 2017

Having problems using the twitter streaming API

I'm using the 'twitter' npm package. I'm using the 'statuses/filter' and "track: 'keyword'" filtering.

I can access whole objects endlessly, but when I try to manually filter any key, it will work for a short period and eventually hit an "undefined" error, or return undefined immediately. Specifically it hits an error and says the event.user object is undefined (the JSON object that I'm attempting to parse/filter).



via D3v3l

No comments:

Post a Comment