Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 543 Bytes

File metadata and controls

21 lines (19 loc) · 543 Bytes

TweetCollector

Preparetion

  1. write config.py
consumer_key = ''  
consumer_secret = ''  
access_token = ''  
access_token_secret = ''  
  1. mkdir media
  2. mkdir json

Use

tweetCollector-free.py

tweetCollector-free.py uses free APIs.
It can collect the latest 3200 tweets.

tweetCollector-full_archive.py

tweetCollector-full_archive.py uses Twitter Premium Search APIs.
It can collect tweets for all periods up to the API call limit.
To use this, you need to subscribe to the Twitter Premium Search API.