TikTok (CDSW)

From CommunityData
Revision as of 21:33, 25 October 2022 by Kaylea (talk | contribs)

This is a tutorial in progress!

This tutorial was inspired by the writeup at [Towards Data Science] -- but please note that the code on that site is out of date, and docs for TikTokApi are at [the github]

  • Set up a developer account. This is a quick round trip with a pin via your e-mail
  • Install a python library that will help you put your API calls together:
 pip3 install TikTokApi
  • Install a browser library to help make your queries look like a web browser as TikTok expects:
 playwright install
  • Check out the demo file we created
  • Set up your own project using the demo as a model.

Answer some basic questions:

  • How many followers