text: #!/usr/bin/env python
  """
  
  Copyright (c) 2009  Kevin Dunglas <dunglas@gmail.com>
  """
  
  import sys
  
  from twisted.internet import reactor
  
  from twittytwister import twitter
  import oauth
  
  def gotEntry(msg):
      print "%s" % (msg.text)
  
  consumer = oauth.OAuthConsumer(sys.argv[1], sys.argv[2])
  token = oauth.OAuthToken(sys.argv[3], sys.argv[4])
  
  user = None
  if len(sys.argv) > 5:
      user = sys.argv[5]
  
  twitter.Twitter(consumer=consumer, token=token).user_timeline(gotEntry, user).addBoth(
      lambda x: reactor.stop())
  
  reactor.run()
  