title: How to get tweets in real time from a user's timeline using Tweepy
body: <p>I'm trying to pull tweets from a user's timeline in real-time. I then want to do some analysis on those tweets. Having read the docs it looks like I will need to use tweepy.Stream for this use case. I've done the following:</p>
  
  <p><code>stream.filter(follow='25073877')</code></p>
  
  <p>But Twitter's filter API states the following:</p>
  
  <ul>
  <li>Tweets created by the user. </li>
  <li>Tweets which are retweeted by the user.</li>
  <li>Replies to any Tweet created by the user. </li>
  <li>Retweets of any Tweet created by the user. </li>
  <li>Manual replies, created without pressing a reply
  button (e.g. “@twitterapi I agree”).</li>
  </ul>
  
  <p>It seems that this will return a huge volume of tweets that aren't relevant to my use case. Do I have to use this approach and then filter by screen name to get only tweets by the real user? This doesn't seem right at all.</p>
  
  <p>The alternative seems to be the api.user_timeline class but that isn't a streaming API. Do I therefore use this API and hit it every second? I can't seem to find suitable examples of how best to accomplish my use case.</p>