Skip to content

Instantly share code, notes, and snippets.

View sameermahajan101's full-sized avatar
🎯
Focusing

Jacknife sameermahajan101

🎯
Focusing
  • Mumbai
View GitHub Profile
@sxshateri
sxshateri / python-hashtag-download-rest.py
Last active July 27, 2022 07:55
This is a python script to download all the tweets of a hashtag into a csv file.
import tweepy
import csv
import pandas as pd
import sys
# API credentials here
consumer_key = 'INSERT CONSUMER KEY HERE'
consumer_secret = 'INSERT CONSUMER SECRET HERE'
access_token = 'INSERT ACCESS TOKEN HERE'
access_token_secret = 'INSERT ACCESS TOKEN SECRET HERE'