|
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))
|