Guest User

Untitled

a guest
Nov 30th, 2011
330
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