Skip to content

Instantly share code, notes, and snippets.

View franciellevargas's full-sized avatar

Francielle Vargas franciellevargas

View GitHub Profile
@franciellevargas
franciellevargas / exemplo_tweepy.py
Created March 29, 2020 19:48 — forked from marcoscastro/exemplo_tweepy.py
Obtendo tweets de usuário com Python e tweepy
# acessar https://apps.twitter.com para criar uma nova aplicação
# cada aplicação tem suas próprias chaves
import tweepy
import re
# acessar a aba "Keys and Access Tokens"
# passa o Consumer Key e o Consumer Secret
auth = tweepy.OAuthHandler('46pvnSwIVylfWepbPsP4433wL', 'xWDPHaUkk0ub93qj1DaYgJcO8QtkPUhNFIE7uBAvzbSVLLpLzR')