Skip to content

Instantly share code, notes, and snippets.

View bellegis's full-sized avatar

Belle Lipton bellegis

  • Somerville, MA
View GitHub Profile
@bellegis
bellegis / twitter crawler.txt
Created August 29, 2017 21:58 — forked from vickyqian/twitter crawler.txt
A Python script to download all the tweets of a hashtag into a csv
import tweepy
import csv
import pandas as pd
####input your credentials here
consumer_key = ''
consumer_secret = ''
access_token = ''
access_token_secret = ''
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)