Package deefuzzer :: Package deefuzzer :: Package tools :: Module get_access_token
[hide private]
[frames] | no frames]

Module get_access_token

source code

Variables [hide private]
  REQUEST_TOKEN_URL = 'https://api.twitter.com/oauth/request_token'
  ACCESS_TOKEN_URL = 'https://api.twitter.com/oauth/access_token'
  AUTHORIZATION_URL = 'https://api.twitter.com/oauth/authorize'
  SIGNIN_URL = 'https://api.twitter.com/oauth/authenticate'
  consumer_key = 'ozs9cPS2ci6eYQzzMSTb4g'
  consumer_secret = '1kNEffHgGSXO2gMNTr8HRum5s2ofx3VQnJyfd0es'
  signature_method_hmac_sha1 = oauth.SignatureMethod_HMAC_SHA1()
  oauth_consumer = oauth.Consumer(key= consumer_key, secret= con...
  request_token = dict(parse_qsl(content))
  pincode = raw_input('Pincode? ')
  token = oauth.Token(request_token ['oauth_token'], request_tok...
  oauth_client = oauth.Client(oauth_consumer, token)
  access_token = dict(parse_qsl(content))
Variables Details [hide private]

oauth_consumer

Value:
oauth.Consumer(key= consumer_key, secret= consumer_secret)

token

Value:
oauth.Token(request_token ['oauth_token'], request_token ['oauth_token\
_secret'])