ju-hache
9/17/2018 - 1:42 PM

tweepy

from tweepy.auth import OAuthHandler
import tweepy 
consumer_key="y"
consumer_secret="y"
access_token_key="y"
access_token_secret="y"

auth = OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token_key, access_token_secret)


api = tweepy.API(auth)

for tweet in tweepy.Cursor(api.user_timeline,id='USATODAY').items():
    print(tweet)