Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

access twitter api using tweepy in python

import tweepy
consumer_key= 'your consumer_key'
consumer_secret= 'your consumer_key_secret'
access_token= 'your access_token'
access_token_secret= 'your access_token_secret'
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token,access_token_secret)
api = tweepy.API(auth)
#From here, you can tweet, search tweets, search keywords, etc.
 
PREVIOUS NEXT
Tagged: #access #twitter #api #tweepy #python
ADD COMMENT
Topic
Name
4+8 =