PyUGAT

Treffen vom 11. 01. 2012

Agenda

Anwesenheitsliste

19 Personen gesamt

pyugat_2012-01b.jpg

Programm

Kurzvorträge

pyugat_2012-01c.jpg

import sys
import tweepy
CONSUMER_KEY = 'myOwnConsumerKeyFromTwitterDev'
CONSUMER_SECRET = 'mySuperSecretConsumerSecretStringFromTwitterDev'
ACCESS_KEY = 'myAccessKeyString'
ACCESS_SECRET = 'mySuperSecretAccessSecret'
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])

import tweepy
CONSUMER_KEY = 'myOwnConsumerKeyFromTwitterDev'
CONSUMER_SECRET = 'mySuperSecretConsumerSecretStringFromTwitterDev'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth_url = auth.get_authorization_url()
print 'Please authorize: ' + auth_url
verifier = raw_input('PIN: ').strip()
auth.get_access_token(verifier)
print "ACCESS_KEY = '%s'" % auth.access_token.key
print "ACCESS_SECRET = '%s'" % auth.access_token.secret

pyugat_2012-01a.jpg

Diskussions- und Plauderrunde

Mehr Fotos :)

Coding Dojo

Coding Dojo

Coding Dojo


CategoryShownotes

PyUGAT: Treffen/2012-01 (last edited 2012-02-01 20:25:46 by milon)