title: How to show hashtag - tweepy?
body: <p>I want to see all the tweets that have a specific hashtag. I wrote the code like this:</p>
  
  <pre><code>from tweepy import Stream
  from tweepy import OAuthHandler
  from tweepy.streaming import StreamListener
  
  ckey = 'xxx'
  csecret = 'xxx'
  atoken = 'xxx'
  asecret = 'xxx'
  
  class listener(StreamListener):
  
      def on_status(self, status):
          print 'Tweet text: ' + status.text
  
          for hashtag in status.entries['hashtags']:
              print hashtag['text']
  
          return True
  
      def on_data(self, data):
          print data
          return True
  
      def on_error(self, status):
          print status
  
  auth = OAuthHandler(ckey, csecret)
  auth.set_access_token(atoken, asecret)
  twitterStream = Stream(auth, listener())
  twitterStream.filter(follow=[23], track=["#django"])
  </code></pre>
  
  <p>Follow a number of my friends, track - wants to see the messages with the hashtag.</p>
  
  <p>On a test account that I wrote constantly follow the hashtag who wants to see. When I run the program, python crashes.</p>
  
  <p>What I'm doing wrong?</p>
  
  <p>Thanks for help.</p>