Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 16 lines (12 sloc) 0.452 kb
60806ce @pkropf setup test for sending tweets from exuro.
authored
1 #!/usr/bin/env python
2
3 import sys
4 import tweepy
5 import cfg
6
7 #print 'consumer_key:', cfg.keys.consumer_key
8 #print 'consumer_secret:', cfg.keys.consumer_secret
9 #print 'access_key:', cfg.keys.access_key
10 #print 'access_secret:', cfg.keys.access_secret
11
12 auth = tweepy.OAuthHandler(cfg.keys.consumer_key, cfg.keys.consumer_secret)
13 auth.set_access_token(cfg.keys.access_key, cfg.keys.access_secret)
14 api = tweepy.API(auth)
15 print api.update_status(sys.argv[1])
Something went wrong with that request. Please try again.