Search code examples
apitwittertwitter-oauth

User Tweets Stream Twitter


Twitter API has the GET method that return specific user tweets, I want to create stream by specific user, but in Twitter Stream API there no method that can help me.

GET Sites in Beta now, I haven't got access to it

Any Idea how to create live update/stream with specific twitter user ?


Solution

  • You have 2 solutions. If you are able to get the credentials from the user (user accepting your app), then you can use the UserStream.

    If you do not have access to this, you will have to use the FilterStream.

    This one is a bit more restrictive as you cannot run more than 2 FilteredStream from the same ip or with the same credentials. In addition to this, a FilteredStream is limited to 5000 users as described on the twitter doc.

    The default access level allows up to 400 track keywords, 5,000 follow userids and 25 0.1-360 degree location boxes.