#!/usr/bin/env python # coding: utf-8 # In[ ]: ################################################################ ## ImportingData #2.3 ## Atul Singh ## www.datagenx.net ################################################################ # In[2]: # import # pip install tweepy import tweepy # ### Reading twitter data # In[3]: # Store OAuth authentication credentials in relevant variables access_token = "1092294848-aHN7DcRP9B4VMTQIhwqOYiB14YkW92fFO8k8EPy" access_token_secret = "X4dHmhPfaksHcQ7SCbmZa2oYBBVSD2g8uIHXsp5CTaksx" consumer_key = "nZ6EA0FxZ293SxGNg8g8aP0HM" consumer_secret = "fJGEodwe3KiKUnsYJC3VRndj7jevVvXbK2D5EiJ2nehafRgA6i" # Pass OAuth details to tweepy's OAuth handler auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_secret) # In[ ]: ############################################################ ## Atul Singh | www.datagenx.net | lnked.in/atulsingh ############################################################