Repository navigation
Replies: 1 comment
|
Sorry but i figured out that i was not using stream.on() function to get the streams! This should be helpful to anyone who might get confused like me. const appOnlyClientFromConsumer = await client.appLogin(); |
0 replies
Answer selected by
alkihis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry but i figured out that i was not using stream.on() function to get the streams! This should be helpful to anyone who might get confused like me.
const appOnlyClientFromConsumer = await client.appLogin();
console.log(appOnlyClientFromConsumer);
const streamFilter = await client.v1.filterStream({
// See FilterStreamParams interface.
track: 'JavaScript',
follow: [1842984n, '1850485928354'],
});