I use streaming api in my thesis study,
I have several track words and want to know that the output tweet object returned with which track word.
I looked the output tweet object there are some data like id_str,created_at, text etc. but I want also the track word which belongs that tweet.
How can I get this data without re querying the output tweets
Unfortunately the streaming API does not indicate to you why the match occurred or provide any tokenization of matching criteria – you’ll need to compare the tweet text (or entities) to the track terms after receiving them – ideally in a separate process than what’s actually consuming the stream.