Skip to main content

TikTok Automation

  • April 11, 2023
  • 9 replies
  • 229 views

Forum|alt.badge.img+2

I have 50-100 TikTok Accounts that I want to track the daily data for once per day:

Amount of followers

Amount of videos posted

9 replies

Rupert_Hoffsch1
Forum|alt.badge.img+21

Maybe this video helps you 🙂 https://youtu.be/ft7ymzBSqmQ


Forum|alt.badge.img+2
  • Author
  • New Participant
  • April 11, 2023

Maybe this video helps you 🙂 https://youtu.be/ft7ymzBSqmQ


Brilliant video, im failing to make this work with the paid API for 45$ per month.

I activated the trial, and edited the code you provided as I only need followers amount and video upload amount, of course I also edited the actor URL with my own API token '

Run actor synchronously and get dataset items'
 
Do you perhaps know why this keeps giving me an error?


Rupert_Hoffsch1
Forum|alt.badge.img+21

Brilliant video, im failing to make this work with the paid API for 45$ per month.

I activated the trial, and edited the code you provided as I only need followers amount and video upload amount, of course I also edited the actor URL with my own API token '

Run actor synchronously and get dataset items'
 
Do you perhaps know why this keeps giving me an error?


This just means that authorMeta doesn't exist on the result


Forum|alt.badge.img+2
  • Author
  • New Participant
  • April 11, 2023

This just means that authorMeta doesn't exist on the result


I have this under my results, so it should exist, right?

 


Rupert_Hoffsch1
Forum|alt.badge.img+21

I have this under my results, so it should exist, right?

 


You have to check the result object by console.logging (console.log(result)). That way you'll see what's in that result


Forum|alt.badge.img+2
  • Author
  • New Participant
  • April 11, 2023

You have to check the result object by console.logging (console.log(result)). That way you'll see what's in that result


can you please tell me where exactly I should run this? Ideally ELI5 please as I got no coding/ working with Apify or airtable experience

In apify or in airtable?


Forum|alt.badge.img+2
  • Author
  • New Participant
  • April 12, 2023

You have to check the result object by console.logging (console.log(result)). That way you'll see what's in that result


Getting the commentCount and diggCount from a video works without issues, what im trying to get is

"fans" and "video" objects.

It keeps giving me the error that it cannot read the objects

Do I need to change something else in the code in order to make it work for Profiel URLs instead of video urls? as I want to get followers and video count and not information from video urls page


Forum|alt.badge.img
  • New Participant
  • December 26, 2025

I'd set up a script in Airtable that calls the TikTok API on a schedule and writes follower and video counts into fields. A single table can track all accounts.


Mike_AutomaticN
Forum|alt.badge.img+28

For any future reader, you might want to look into TikTok scraping apis such as this one from apify (there are multiple of them). In the past, I’ve implemented something similar (at a video level, rather than at a user level) creating an automation in n8n (you could also use Make or Zapier -more on these on code automation tools here).

Mike, Consultant @ Automatic Nation 
YouTube Channel