a guest Nov 30th, 2011 324 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/usr/bin/env python2
- import tweepy
- consumerKey = 'Paste key between quotes'
- consumerSecret = 'Place key between quotes'
- auth = tweepy.OAuthHandler(consumerKey, consumerSecret)
- auth_url = auth.get_authorization_url()
- print 'Please authorize: ' + auth_url
- verifier = raw_input('PIN: ').strip()
- print "accessKey = '%s'" % auth.access_token.key
- print "accessSecret = '%s'" % auth.access_token.secret
RAW Paste Data