Exemplo n.º 1
0
    def __init__(self):
        from twisted.internet import reactor
        self.agent = Agent(reactor)
        self.signature_method = oauth.SignatureMethod_HMAC_SHA1()
        self.previous_tweets = None

        # If we receive tweets before we fetch the old ones, queue them up
        # to be run later
        self.tweet_queue = []
        self.longify = Longifyer()

        self.get_previous_tweets()