[ create a new paste ] login | about

Link: http://codepad.org/GDvH4Sr8    [ raw code | fork ]

racerxdl - Python, pasted on Sep 7:
1
2
3
4
5
6
7
8
9
10
11
12
import sys
import tweepy

CONSUMER_KEY = 'Coloque aqui sua Consumer Key'
CONSUMER_SECRET = 'Coloque aqui sua Consumer Secret'
ACCESS_KEY = 'Coloque aqui sua Access Key'
ACCESS_SECRET = 'Coloque aqui sua Access Secret'

auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
api.update_status("Teste do Lets Hack It!") #Envia o Tweet


Create a new paste based on this one


Comments: