In [ ]:
import tweepy
import csv
import json
NOTE: You must have python-twitter installed on the machine to run this script. You can install it by running the below cell (change the cell type in the toolbar above to Code
instead of Raw NBConvert
). You may need to use "! sudo pip install tweepy"
.
In [ ]:
! sudo pip install tweepy
In [ ]:
# Twitter OAuth Credentials
consumer_key = ""
consumer_secret = ""
access_token = ""
access_secret = ""