Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

twitter python

import tweepy

auth = tweepy.OAuth1UserHandler(
   consumer_key, consumer_secret, access_token, access_token_secret
)

api = tweepy.API(auth)

public_tweets = api.home_timeline()
for tweet in public_tweets:
    print(tweet.text)
Source by docs.tweepy.org #
 
PREVIOUS NEXT
Tagged: #twitter #python
ADD COMMENT
Topic
Name
2+7 =