draftbit / twitter-lite

A tiny, full-featured, flexible client / server library for the Twitter API

Home Page:https://npm.im/twitter-lite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filtered Stream track operators

jayabrams opened this issue · comments

Not super clear from docs how would one go about using the premium operators twitter provides to track things in a stream?

Say for example one wanted to track mentions of a specific user but only if the tweet text has:images?

Are the operators used within the value of the track key as such?

const parameters = {
  track: "@testUser has:images",
};

thank u

commented

Hi @jayabrams Did you ever figure this out? I have a similar question here:

https://github.com/draftbit/twitter-lite/issues/164