Twitter User Streams Integration



I am trying to use the Twitter User Streams API to get specific users information. But I am pretty much confused about the integration of this API. So I took the help of the Twitter Console( ). There also I am not getting the proper way to do that.

There, I chose the and I also chose the streaming “/user.json”. Then I simply click on “Send” button. But I am not getting any kind of result for a single time, except the “Gateway Timeout”. There are some parameters present for this API, but I check that none of them are required. So I run that without any parameter.

After this I have also checked with the @Abraham’s twitter oAuth( in PHP ) class file and using the functions to access the particular “user” for user streaming. But I failed every time, though I did all authentication/connection perfectly :frowning: :frowning: :frowning: I was also able to get results for the simple REST APIs( Followers IDs ). I really don’t understand that what to do to integrate the user stream API.

So, if anybody can provide the exact way to integrate the user stream API asap, would be a great help for me. My approaches would be wrong, so a fresh way would be very much acceptable.

Will wait for a good response,
Thanks in advance :slight_smile:


User Streams and all the streaming APIs are a lot different than the typical REST API methods. They won’t generally work with our web-based consoles.

What are you looking to accomplish? User Streams might not be the best fit for you.

In any case, if you’re using PHP, tmhOAuth has some examples on working with user streams:


Is there any Twitter Streaming API sample available for C#, especially for Windows 8 or Windows Phone 8?


Hello, I have tried to use the User Stream without success.

I read here that the console is not working for the user stream, I tried to test it in the Twitter for Mac developer console but I don’t get any answer, it keeps “thinking” or loading or doing something.

how can I test it?

I checked the link @episod provided with the examples but its not clear for me, could you post here an example of how to set the user stream to make it work? I’m using java scripts.

Thanks in advance