Skip to content

Instantly share code, notes, and snippets.

View pkavoo's full-sized avatar

Polycarp Kavoo pkavoo

  • Nairobi, Kenya
View GitHub Profile
@pkavoo
pkavoo / twitter crawler.txt
Created November 6, 2019 23:46 — 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)