SHARE
TWEET

Untitled

a guest Nov 30th, 2011 291 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python2
  2.  
  3. import sys
  4. import tweepy
  5.  
  6. consumerKey = ''
  7. consumerSecret = ''
  8. accessKey = ''
  9. accessSecret = ''
  10.  
  11. auth = tweepy.OAuthHandler(consumerKey, consumerSecret)
  12. auth.set_access_token(accessKey, accessSecret)
  13. api = tweepy.API(auth)
  14. api.update_status(sys.argv[1])
  15.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top