skip to Main Content

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 ?

2

Answers


  1. 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.

    Login or Signup to reply.
  2. I believe the solution to this problem is to use follow IDs within your stream and then check that the tweet->user->id for each tweet is within the list of follow IDs. That way you know that the post is original and not being retweeted etc. It does seem bizarre that twitter doesn’t allow you to filter only messages “from”.

    I also believe that retweets have an ‘retweeted_status’ element in the result which if absent also shows its a new tweet from your following User IDs.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search