Exemplo n.º 1
0
        public void Start()
        {
            _stream = _client.stream("statuses/filter", new TwitterStreamConfig {
                track = _filter
            });

            _stream.onData(tweet =>
            {
                OnReceived?.Invoke(this, tweet);
            });

            _stream.onError(error =>
            {
                OnError?.Invoke(this, error);
            });
        }