recent_tweets.append(tweet)

# Calculate current sentiment score
for tweet in recent_tweets:
  sentimentScore += happyCalc.signTweet(tweet)
print 'Sentiment of past tweets = ' + str(sentimentScore)

# Create a streamer object
streamer = MyTwythonStreamer(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)

streamer.add_tweets(recent_tweets)
streamer.print_tweets()

counter = 1
while (counter < 3):
  # Pass in your twitter id within the follow paramater to stream a specific user.
  #streamer.statuses.filter(follow = )
  #streamer.user()

  counter += 1

  sentimentScore = happyCalc.getTotalSentiment(streamer.myTweets)
  print "Sentiment Score : " + str(sentimentScore)
  time.sleep(30)


print "Final score = " + str(sentimentScore)