Reddit and TikTok - with the help of AI - are reshaping how researchers understand substance use