You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to consume stream, because when I open my stream with const stream = twitterClient.v2.searchStream()
and then I try to use stream.on(), it says that .on() is not a function, even if I'm copying from the docs.
If I try to iterate with for (tweet in stream) i got an error saying that stream isn't iterable. How to solve?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm unable to consume stream, because when I open my stream with
const stream = twitterClient.v2.searchStream()
and then I try to use
stream.on()
, it says that.on()
is not a function, even if I'm copying from the docs.If I try to iterate with
for (tweet in stream)
i got an error saying that stream isn't iterable. How to solve?Beta Was this translation helpful? Give feedback.
All reactions