StartStreamMatchingAllConditions v StartStreamMatchingAnyConditions

Mar 19, 2014 at 9:02 AM
Could you explain the difference between these in relation to FilteredStreams, or if available a link to anything which documents it.

Thanks
Coordinator
Apr 7, 2014 at 12:18 AM
Hi,

I've just seen your post looking in the past posts. Sorry for the big delay.

Let say you specify both a Track, Location and a Follower.
When twitter get these parameters, twitter will send you all the tweets that match one of the Track OR one of the location you've specified OR a tweet coming from a user you want to follow.

This feature is implemented by StartStreamMatchingAnyConditions.

But you might want to get the tweets that match all the requirements and if one of the requirement is not valid then not match the tweet at all. Consequently, StartStreamMatchingAllConditions check that a tweet received matches both a Track AND a Location AND that it has been created by one of the user that you follow.

Hope this clear things up.
Linvi
Marked as answer by linvi on 4/7/2014 at 3:22 PM
Apr 20, 2015 at 7:16 AM
Edited Apr 20, 2015 at 1:20 PM
Hi,

Thanks very much for your answer!

I have some other question, is it in any way possible to know which tweet came from which location?
and how can you just get all the tweets from a certain location, what do you give in as "addTrack" to get everything?

Thanks!