Created
September 13, 2013 01:11
-
-
Save akdyounger/6545821 to your computer and use it in GitHub Desktop.
Basic tweeting code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| import tweepy | |
| CONSUMER_KEY = 'Cant show this part' | |
| CONSUMER_SECRET = 'Cant show this part' | |
| ACCESS_KEY = 'Cant show this part' | |
| ACCESS_SECRET = 'Cant show this part' | |
| auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) | |
| auth.set_access_token(ACCESS_KEY, ACCESS_SECRET) | |
| api = tweepy.API(auth) | |
| api.update_status(sys.argv[1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment