twit icon indicating copy to clipboard operation
twit copied to clipboard

status/filter stream only works when providing a track option

Open warrenronsiek opened this issue 8 years ago • 2 comments

Hi, when I create a status/filter stream, the stream only returns statuses when a track argument is provided. E.g.:

T.stream('statuses/filter', {track: ['lulz'], language: 'en'});

Returns tweets. However the following does not:

T.stream('statuses/filter', {language: 'en'});

I have been unable to find any documentation for twit or on Twitters official api docs about requiring a track parameter. Is this a bug or are there some requirements in the API that aren't stated?

warrenronsiek avatar Jan 06 '17 07:01 warrenronsiek

I have the same problem, this returns only locations, track keyword does not do anything. Also, if I add language filter it works with locations properly but does not filter any tweet.

twit.stream('statuses/filter', {track:'trump', locations:'-180,-90,180,90' });

sarisercan avatar Mar 06 '17 11:03 sarisercan

Here's an example without track.

dandv avatar Dec 21 '18 04:12 dandv