TikTok (CDSW): Difference between revisions

From CommunityData
(Created page with "This is a tutorial in progress! Nothing to see here (yet).")
 
No edit summary
Line 1: Line 1:
This is a tutorial in progress! Nothing to see here (yet).
This is a tutorial in progress!  
 
This tutorial was inspired by the writeup at [[https://towardsdatascience.com/how-to-collect-data-from-tiktok-tutorial-ab848b40d191 Towards Data Science]] -- but please note that the code on that site is out of date, and docs for TikTokApi are at [[https://davidteather.github.io/TikTok-Api/docs/TikTokApi/tiktok.html 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

Revision as of 21:33, 25 October 2022

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