SpiderStrategies / node-tweet-stream

Node twitter module to hook into the public filter streaming, seamlessly updating the tracking keywords.
210 stars 43 forks source link

Track multiple words at once? #23

Closed TylerPachal closed 9 years ago

TylerPachal commented 9 years ago

Can we add a new function (or alter the current track() function) that could accept multiple words at once.

Instead of: tweet_stream.track("node");

Something like: tweet_stream.track(["node']);

Where the array could contain more than one term.

nathanbowser commented 9 years ago

Sure. PR welcome

FilipLukac commented 9 years ago

it can accept more than one word, like track('one, twoo, six, five'); check twitter documentation

nathanbowser commented 9 years ago

@Chipsi The problem w/ that approach is it gets messy if you want to untrack "six" in your example. A cleaner solution is to have .track('one', 'two', 'six', 'five') so we know what we're tracking.

nathanbowser commented 9 years ago

Thanks @TylerPachal In 1.7.0