Ok, so I\'m a complete beginner with Rx and unfortunately very new to js and streams in js as well. Im using this https://github.com/trygve-lie/twitter-stream-api to connect
Here's an example using desmondmorris/node-twitter and rxjs 5.
const Observable = require('rxjs').Observable;
Observable
.of(new require('twitter')({
consumer_key: 'xxxx',
consumer_secret: 'xxxx',
access_token_key: 'xxxx',
access_token_secret: 'xxxx',
})).mergeMap(twitter =>
Observable
.fromEvent(twitter.stream('statuses/filter', {
track: 'Stack Overflow'
}),
'data'))
.filter(tweet => tweet.user.follow_count > 10000)
.subscribe(console.log);