Tiktok is a video sharing platform. Use for questions regarding programmatic access to the platform or it's api. Use with a appropriate language tag like [javascript]
Questions tagged [tiktok]
199 questions
2
votes
1 answer
Example of Login with Tiktok (web) flow
I would like a user to login with tikok on the web and get his basic information like:
avarat_url
union_id (uniq user identifier provided by tiktok)
display_name
The Tiktok Login Kit for Web Documentation seems to be missing a full example on how…

dcts
- 1,479
- 15
- 34
2
votes
1 answer
how to make tiktok downloader without watermark php
I want to make tiktok downloader php. I heard from some articles stackoverflow that tiktok has two version of videos (watermarked and original). I want that my web can download the original without watermark.
I have tried some github repositories…

Aruki
- 49
- 4
2
votes
0 answers
Download videos from tiktok by inserting a video link. Flutter/Dart
I want to create an application, that downloads videos from TikTok by inserting its link.
I am using flutter_downloader for this purpose. But there is some issue, the application is able to download videos from the internet, but not from TikTok. the…
2
votes
0 answers
'TikTokApi' object has no attribute 'region'
!pip install TikTokApi
from TikTokApi import TikTokApi
from playwright.sync_api import sync_playwright
verifyFp = "aaa"
api = TikTokApi.get_instance(custom_verifyFp=verifyFp, user_test_endpoints=True)
api.by_hashtag('funny')
Currently using 4.0.1…

michael
- 21
- 1
2
votes
1 answer
How to apply video filters in flutter like tiktok or instagram?
I am building app like tiktok and want to implement that functionality in that app. Please help me. Also how to use tapioca: ^1.0.2 package to apply that filter, because there is no proper documentation.
Also there is no video tutorials - please…

PR1NC3
- 37
- 6
2
votes
1 answer
How to open specific tiktok video link in Android?
I basically want my button to open tiktok video link (link should be opened by tiktok app, not default browser or webview) on click. How to program that button in Android Studio?

Rastko Stamenkovic
- 33
- 7
1
vote
1 answer
How to migrate v1 auth url to v2 in Tiktok?
I had used this code previously to use Tiktok OAuth in my react native app. But now tiktok is shifting to v2 from 12 September,2023. I want to replace this code of mine with new code.
const baseUrl =…

Vishal Kumar
- 11
- 3
1
vote
2 answers
Selenium tiktok-uploader issues with chromedriver
I'm trying to upload to TikTok using the TikTok-uploader package and I can't seem to get it working. The documentation says that chromedriver should be downloaded automatically when I try to run this code:
upload_video(f"ViralBear/ready/{filepath}",…

Arian Abbaszadeh
- 33
- 1
- 4
1
vote
0 answers
TIKTOK API - Generate Access Token error message: 'Timestamp has expired.'
I am trying to pull tiktok data from the TikTok AP, and I am experiencing two problems currently:
1. I am having the error message: 'Timestamp has expired' even though I just renewed a new authentication code. I tried generating a timestamp…

Shi Yun
- 11
- 1
1
vote
2 answers
Using "href" to link a tiktok page. Tiktok URL use "@", but get error in cshtml
I want to link a tiktok page in a cshmt project using "href", but I think that because of the "@" that tiktok has by default it is giving error.
I tried to use the two syntaxes below, but in the browser the error appears: "Too many characters in the…

Lucas Fernandes
- 11
- 2
1
vote
1 answer
Problem with .find_element() from python selenium
I need to find the "upload" button and input to upload the video. Below is the markup of the elements and my code.
Input field
Upload button
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
def test():
…

simkos
- 11
- 2
1
vote
1 answer
TikTok API + python: get video metadata by ID (in json)
Previously, I have been using this URL for retrieving the metadata of a public TikTok video:
https://www.tiktok.com/node/share/video/{handle}/{post_id}
This URL used to return an itemInfo dictionary with all the necessary data: video title and…

Edmond
- 59
- 2
- 15
1
vote
1 answer
How to disable autoplay from embedded Tiktok?
Strangely, when height of iframe is smaller than height of video, a button play appear, but when height of iframe is adjusted to height of video to prevent scrollbar, play button disappear and autoplay enabled (video plays automatically).
To see the…

Y.S.
- 157
- 1
- 11
1
vote
0 answers
Async Queue Stops Populating after a while
I have a TikTok API that has async functions that adds items to my queue and then I have another async function that prints them. I plan to do something more with this function but since I'm relatively new to python I just want to consistently print…

kushy
- 11
- 1
1
vote
0 answers
selenium Unable to locate tiktok caption
After login into tiktok with selenium the selenium can't find the caption input field. my code is this
cap = driver.find_element(By.CLASS_NAME, 'public-DraftStyleDefault-block')
cap.send_key('this is test caption')
Error Is…