Ejemplo n.º 1
0
    def __init__(self, apiurl):
        TurpialHTTP.__init__(self, POST_ACTIONS)
        self.log = logging.getLogger('TwitterHTTP')

        self.token = None
        self.consumer = oauth.OAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET)
        self.sign_method_hmac_sha1 = oauth.OAuthSignatureMethod_HMAC_SHA1()
Ejemplo n.º 2
0
 def __init__(self, apiurl):
     TurpialHTTP.__init__(self, POST_ACTIONS)
     self.log = logging.getLogger('TwitterHTTP')
     
     self.token = None
     self.consumer = oauth.OAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET)
     self.sign_method_hmac_sha1 = oauth.OAuthSignatureMethod_HMAC_SHA1()
Ejemplo n.º 3
0
    def __init__(self):
        TurpialHTTP.__init__(self, POST_ACTIONS)
        self.log = logging.getLogger("TwitterHTTP")
        self.access_url = "https://api.twitter.com/oauth/access_token"

        self.token = None
        self.consumer = oauth.OAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET)
        self.sign_method_hmac_sha1 = oauth.OAuthSignatureMethod_HMAC_SHA1()
Ejemplo n.º 4
0
 def __init__(self):
     TurpialHTTP.__init__(self, POST_ACTIONS)
     self.log = logging.getLogger('IdenticaHTTP')
Ejemplo n.º 5
0
 def __init__(self):
     TurpialHTTP.__init__(self, POST_ACTIONS)
     self.log = logging.getLogger('IdenticaHTTP')