Tiktok Automation Using Appium ( You're about to access a TikTok experience designed just for you )

ayoubnadi

Junior Member
Joined
Jan 13, 2024
Messages
140
Reaction score
36
Hi guys,

I've been trying to automate some simple TikTok tasks on my Android phone. I watched some videos about Appium and started learning how to work with the UiAutomator driver + Appium.

To test if I could automate creating a random account, I needed to get the XPath of the elements I wanted to click. To do that, I used Appium Inspector — my device was connected to the Appium server, and I was going through the normal manual account creation steps.

However, while setting up the birthday, I suddenly got a message saying "You're about to access a TikTok experience designed just for you" (as shown in image 1). When I clicked Next, it took me directly to choose a username (image 2) and a password.

The account that was created didn’t seem like a normal TikTok account — the interface had changed to something like TikTok Kids, where I could only watch videos and there was no option to comment, follow, or anything else.

So, I’m wondering if there’s a fix for this.
And for the experts: is there something I missed while trying to automate TikTok with Appium? Did TikTok detect that I was trying to automate and restrict/ban the account?
 

Attachments

  • photo_2025-08-11_21-22-59.jpg
    photo_2025-08-11_21-22-59.jpg
    38.7 KB · Views: 285
  • photo_2025-08-11_21-22-54.jpg
    photo_2025-08-11_21-22-54.jpg
    44.9 KB · Views: 277
That can happen if the birthday picker defaults to a low year, or if automation triggers some of their bot/child-safety checks. When automating with Appium, make sure your date of birth input matches adult age ranges, and add realistic pauses and human-like interactions to reduce detection. They might not have “banned” you, but the automation probably tripped their protection flow.
 
Hi guys,

I've been trying to automate some simple TikTok tasks on my Android phone. I watched some videos about Appium and started learning how to work with the UiAutomator driver + Appium.

To test if I could automate creating a random account, I needed to get the XPath of the elements I wanted to click. To do that, I used Appium Inspector — my device was connected to the Appium server, and I was going through the normal manual account creation steps.

However, while setting up the birthday, I suddenly got a message saying "You're about to access a TikTok experience designed just for you" (as shown in image 1). When I clicked Next, it took me directly to choose a username (image 2) and a password.

The account that was created didn’t seem like a normal TikTok account — the interface had changed to something like TikTok Kids, where I could only watch videos and there was no option to comment, follow, or anything else.

So, I’m wondering if there’s a fix for this.
And for the experts: is there something I missed while trying to automate TikTok with Appium? Did TikTok detect that I was trying to automate and restrict/ban the account?
Do not use Appium ;)

https://streamable.com/19195m

My with image recognition ;)

Also you took age 13 ;)
 
That can happen if the birthday picker defaults to a low year, or if automation triggers some of their bot/child-safety checks. When automating with Appium, make sure your date of birth input matches adult age ranges, and add realistic pauses and human-like interactions to reduce detection. They might not have “banned” you, but the automation probably tripped their protection flow.
the thing is i was setting the age manually but in that same time my phone was connected to the appium server and showing the screen on appium selector and i did choose the year 2002 and got that message and since then if i use another tiktok version it might work fine but once use it while im connected to the appium server i get that message again i dont know if actually the automation getting me detected
 
Do not use Appium ;)

https://streamable.com/19195m

My with image recognition ;)

Also you took age 13 ;)
thanks for the answer buddy, the thing is im pretty sure i chose an age over 18 manually and also on my script i set the minimum to be 2000, but the prob as i mentioned even when im just setting the date manually and having my phone connected with adb and appium i automatically get that message like that appium server with my phone is triggering tiktok to send me that message and i just dont why like if i have to hide or theres a way to hide that im using appium.

however i saw your video and its actually inspiring and its pretty cool may i ask with which model or library i can make such scripts if you dont mind sharing ofc
 
thanks for the answer buddy, the thing is im pretty sure i chose an age over 18 manually and also on my script i set the minimum to be 2000, but the prob as i mentioned even when im just setting the date manually and having my phone connected with adb and appium i automatically get that message like that appium server with my phone is triggering tiktok to send me that message and i just dont why like if i have to hide or theres a way to hide that im using appium.

however i saw your video and its actually inspiring and its pretty cool may i ask with which model or library i can make such scripts if you dont mind sharing ofc
OpenCV, recognise TikTok interface graphics on screenshots sent to adb fast, then make adb commands, without any appium
Appium is wrong to TikTok, you already mentioned Xpath, problem is that on FYP there is no Xpath you can use. They are using dynamic resources IDs, each tiktok restart, new ids ;)
It's also not app, but website, TikTok is website loaded to their own webview

They just blocked all amateur automation devs with that way ;)
 
OpenCV, recognise TikTok interface graphics on screenshots sent to adb fast, then make adb commands, without any appium
Appium is wrong to TikTok, you already mentioned Xpath, problem is that on FYP there is no Xpath you can use. They are using dynamic resources IDs, each tiktok restart, new ids ;)
It's also not app, but website, TikTok is website loaded to their own webview

They just blocked all amateur automation devs with that way ;)
thank you so much for the tips mate i truly appreciate the help would give openCV and that image recognition approach a try instead of depending on appium
 
OpenCV, recognise TikTok interface graphics on screenshots sent to adb fast, then make adb commands, without any appium
Appium is wrong to TikTok, you already mentioned Xpath, problem is that on FYP there is no Xpath you can use. They are using dynamic resources IDs, each tiktok restart, new ids ;)
It's also not app, but website, TikTok is website loaded to their own webview

They just blocked all amateur automation devs with that way ;)
Hi Luk, I was looking for content like this until I stumbled upon this forum, I’m new here and I really liked it. I wanted to ask you if you have any tips or maybe an article that explains more about how to use proxies to avoid getting caught by TikTok, or something along those lines. Just to give you a bit more context... I saw that you have a course explaining several techniques you use, but I don’t have the money yet to buy it (not that it’s expensive or anything, it’s just that I’m really broke. I’m from Brazil, so unfortunately everything ends up costing me five times more hahaha).
Thanks for this content that you already posted, it help me a lot.
 
Another thing that is important when you do the testing, is to make sure you warm up the accounts. I know you are just talking about the software, but you will test it aswell and that is why I am saying to make sure to warmup the account so that you know if there's an issue with the account, or the software. Just keep that in mind. I noticed that even when you used a new account, you still got popups. When you warm the account up for 5-10 days, a lot of the popups should get reduced, and the profile should be fine.
 
adb is detectable also, so it's basically screaming "hey, im not a regular user" and immediately will flag you, no normal user has it enabled
 
Another thing that is important when you do the testing, is to make sure you warm up the accounts. I know you are just talking about the software, but you will test it aswell and that is why I am saying to make sure to warmup the account so that you know if there's an issue with the account, or the software. Just keep that in mind. I noticed that even when you used a new account, you still got popups. When you warm the account up for 5-10 days, a lot of the popups should get reduced, and the profile should be fine.
the thing is the goal of that automation was already to warm up the accounts or also create them so i couldnt just get warmed up accounts to use automation on them you got me! but i guess i figured it out i followed luk's tips and created one that warm them up well but for the creation i guess i will stick to the manual method since it makes better accounts
 
the thing is the goal of that automation was already to warm up the accounts or also create them so i couldnt just get warmed up accounts to use automation on them you got me! but i guess i figured it out i followed luk's tips and created one that warm them up well but for the creation i guess i will stick to the manual method since it makes better accounts
Regardless of creation method, you can achieve same results ( we automated it, no issues ), I am sure you'll find something that works for you, anyway, I just wanted to share that it is possible to not give up on full automation
 
adb is detectable also, so it's basically screaming "hey, im not a regular user" and immediately will flag you, no normal user has it enabled
so what do you suggest as an alternative ?
 
I solved it by manually completing the first few steps before switching to automation, it bypassed the restricted interface
 
I solved it by manually completing the first few steps before switching to automation, it bypassed the restricted interface
so you just open the sign up process and fill the infos manually and then continue with the automation for the rest of the accounts or just that once account and then re do the same process over and over ?
 
so you just open the sign up process and fill the infos manually and then continue with the automation for the rest of the accounts or just that once account and then re do the same process over and over ?
Following
 
It sounds like TikTok flagged your account creation flow and routed it to a restricted mode possibly due to the birthday settings or automation detection.
 
why not appium? and what you using on that attached video? why android over ios? too many questions
Making screenshots, OpenCV to recognise objects, tap on coordinates
Not appium, because social media detect appium process working in background
 
Back
Top