Social Media Mining for Rare/Intractable Diseases
Codes to use social media mining for rare/intractable diseases
A code to get timestamp and text of tweets for a specified user ID.
Tweepy (https://www.tweepy.org/), Twitter API keys (https://developer.twitter.com/)
Before you use this code, you should edit it to add Twitter API keys and user ID.
% python twget.py > output.tsv