Advertisement
Guest User

Untitled

a guest
Nov 30th, 2011
446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement