is giving me all tweets going through Twitter, not the users timeline


HI all,

When I query the Streaming API, I get all tweets going through Twitter not user specific ones. My parameters are below:

$filters = array(
    "stringify_friend_ids" => "true",
    "with" => "followings"

any ideas?



The parameter with should be set with “user” value to achieve what you want to do. So your code fixed is:

$filters = array( "stringify_friend_ids" => "true", "with" => "user" );

Check the docs for full explanation:


My bad figured that out as well. One issue I’m having. If a user posts two tweets, I only get the second tweet. Not the first one. Any ideas on what can cause this?


You should get 2 tweets in userstream. Is this behavior reproducible?