Streaming a different user's tweets containing a specific keyword?


#1

I’ve managed to authenticate with my account (User A), and stream tweets from a specific account (User B) using the follow parameter, but that is not enough for me. How can I request User B’s tweets containing a specific keyword? I’ve tried using the ‘track’ parameter, but then it brings in tweets from all of twitter with that keyword, and ignores the ‘follow’ parameter. Any help would be appreciated!

This is what I tried, but it didn’t help. Thank you!

https://stream.twitter.com/1.1/statuses/filter.json?delimited=length&follows=USERIDHERE&track=KEYWORDHERE:

Note: If I remove the track=KEYWORDHERE, everythign works as it should.


#2

Figured it out nvm! : )


#3

Hi @ViccsMind,

I am looking for something like which you have mentioned above. Can you please share how did you able to get the data “User B’s tweets containing a specific keyword”.
Thanks.