Questions tagged [tiktok]
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]
138
questions
2
votes
0
answers
25
views
TikTok Login Kit web flow - keep getting Redirect URI error (code 10006)
I'm having an issue getting Login Kit to work. Similar to the question asked here I have the correct redirect domain listed in tiktok settings and the redirect_uri is basically just "domain/...
0
votes
0
answers
21
views
Get comments from tiktok video using tiktok display API
I am able to get tiktok videos of logged in user, but unable to search for a way in tiktok api to get video list with comments too. It is just showing total comments count but not actual comments. Is ...
1
vote
0
answers
36
views
Tiktok Login Kit Integration for web
I am trying to integrate Login Kit with my Node.js app. I am facing redirect issue while the login is successful using tiktok credentials and when the app redirects. Below is the code i have used to ...
0
votes
0
answers
24
views
how can i embed tiktok in nuxt?
<blockquote class="tiktok-embed" cite="https://www.tiktok.com/@231yeony/video/7129552108004625665" data-video-id="7129552108004625665" style="max-width: 605px;min-...
-3
votes
0
answers
24
views
How to query date and time in mongo java? [closed]
I want to query a list of documents based on date and from a time every day, eg: 23/07/2022 to 31/07/2022 from 7 am to 2 pm. how can this be done in mongo java?
{
"_id" : ObjectId("...
0
votes
0
answers
16
views
How to resolve non-deterministic infinite loading error for website (React+Firebase) link clicked in Tiktok mobile app?
We link our website in a Tiktok profile similar to https://SKKNBYKIM.COM in this profile https://www.tiktok.com/@kimkardashian. When using the Tiktok mobile app and our website is clicked in a Tiktok ...
1
vote
1
answer
47
views
Tiktok: Selenium unable to find upload area
As the title suggests, my bot is unable to find the upload area on the tiktok website.
driver.get("https://www.tiktok.com/upload/")
time.sleep(5)
upld = driver.find_element(By.XPATH, "//...
0
votes
0
answers
16
views
Tiktok's Pixel wrapper for react native
I want to implement Tiktok's Pixel in React Native app. What are the possibilities?
2
votes
2
answers
224
views
TikTok api user/info/ endpoint return error code 6007063
I implemented TikTok PI and everything works well. In the last days I encountered a problem that the user/info/ endpoint returns 'error code': '6007063', 'message': 'auth user info is required'. This ...
-2
votes
1
answer
87
views
Name of tiktok captcha and how to bypass it?
Can anyone tell "what is the name of captcha that tiktok using during login"
How can i bypass it
How to use 2captcha API for this
0
votes
0
answers
27
views
TikTok Ads API pixel_id
I'm having a little issue in a specific tiktok ads Api Field. the field of the "pixel_id" isn't accepted in the post request and shows an error from tiktok API response "pixel_id doesn'...
1
vote
1
answer
183
views
How to solve a tiktok captcha with 2captcha?
Does anybody know how to solve the tiktok captcha with the 2captcha api or any other method, yet I don't think that another method will work, but I am open to proposition.
Their documentation is not ...
0
votes
0
answers
38
views
How to add video description in TikTok Web Kit
I was able to successfully publish a video to TikTok via the API but I have a little issue which is:
In addition to the video parameter, how can I also add a video description to the TikTok request ...
0
votes
0
answers
110
views
TikTok Post Video API | Something went wrong Error
We are trying to publish a video from backend API.
We have successfully generated auth code from which we have derived access token and open-id.
After which, we hit the following end-point to post the ...
0
votes
0
answers
53
views
Tiktok /oembed endpoints returns error for links copied from ios app
I need to insert Tiktok embed based on user input. I'm using /oembed ednpoint as described on "Tiktok for Developers".
It works fine with regular links from tiktok website (i.e. https://www....
0
votes
0
answers
27
views
Flutter GPU Performance on pageview with video player
I'm having performance issue, high GPU thread when playing video on pageview (look like tiktok UI) (jank ui) look like under 30 fps, but when displaying image it works fine.
Also does any1 know what ...
0
votes
1
answer
32
views
Can't Access Elements On Page (Selenium Python)
I'm trying to access the elements on this page: https://www.tiktok.com/search?q=funny%20dog%20videos
I can only access the highest elements (for example, the element with the ID "app"). ...
0
votes
0
answers
102
views
Authorization Scopes To Get Follower Count From Tiktok
Authorization Scopes To Get Follower Count From Tiktok
The Tiktok developer API documentation only lists three sets of scopes that an application can request:
video.list
user.info.basic
share.sound....
0
votes
0
answers
34
views
How To Find Cookie Header Thing
So I'm working on this thing and it asks for me to:
Sign into TikTok in your browser by choice (I'm using chrome)
Open DevTools and go to the network tab
Reload the page and find the sent cookie ...
2
votes
1
answer
51
views
tkinter freezing when press button with libraries like tiktoklive
I face an issue and I want to understand why this problem happens and how to solve this problem. I know a lot of questions on stack overflow that talk about tkinter freeze when button pressed I saw ...
0
votes
0
answers
73
views
Tiktok developers webhooks not sending notifications
I'm trying to create a post route that will accept notifications from tiktok's webhooks as they are described here;
https://developers.tiktok.com/doc/webhooks-overview/
As mentioned here I wrote up a ...
0
votes
1
answer
100
views
Getting Error like TikTokApi object has no attribute get_Video_No_Watermark
I am using Tiktok libaray to download the video wihtout watermark and saved it inside my laptop but script generates an error like
AttributeError: 'TikTokApi' object has no attribute '...
-2
votes
1
answer
115
views
Weird new tiktok browser javascript vulnerability?
I just found this code on a scam link going viral on tiktok. I have zero js experience and i need your help on this. Is this something new or is it an old thing?
<!doctype html>
<html>
<...
0
votes
0
answers
57
views
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. Error
import React,{useEffect} from 'react';
import '../VideoFooter.css';
import disc from './static/disc.png';
import MusicNoteIcon from '@material-ui/icons/MusicNote';
import Ticker from '...
0
votes
1
answer
170
views
Selenium Python Unable to scroll down in tiktok while fetching videos
i am trying to use Selenium Python to open tiktok user page and scroll down to load all user videos
i can open the url and get the source code including all loaded videos data, but when scroll down ...
2
votes
1
answer
237
views
Posting videos to Tiktok with Video Kit API fails
I'm trying to share a video on tiktok using the video kit api,the video I have is on a google cloud storage link so first I grab that from the cloud and attach it to a formdata with a readstream. I ...
0
votes
1
answer
103
views
ImportError: cannot import name 'sync_playwright' from 'playwright'
When i start this code i had this error python 3.7 `enter image description here
import TikTokApi
api = TikTokApi.get_instance(use_selenium=True, executablePath="C:\Program Files(x86)\Google\...
0
votes
1
answer
117
views
Issue using C# HttpWebRequest to send request to TikTok
I seem to be having issues just making a basic request to the TikTok homepage using the HttpWebRequest module in C#. Here is my code.
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(...
0
votes
0
answers
226
views
How to query certain metrics from tik tok report api in python?
Hi I am trying to get additional metrics such as reach, video view up to 50%, video view up to 100% and url link per ad. However I am having a hard time finding the documentation to get such items.
...
1
vote
2
answers
775
views
Tiktok api /user/info endpoint
Currently trying to implement the TikTok api into one of my projects. However having a few difficulties with a specific endpoint. Not sure if its an error on my part or on Tiktoks.
Upon making the ...
0
votes
0
answers
99
views
There is no current event loop in thread 'uWSGIWorker1Core13'
We are running into a bug with one of our API endpoints that handles fetching tiktok user info. Our app is written in Django and is using the Django rest framework. We are using uwsgi to serve our app....
-3
votes
1
answer
316
views
How can I make TikTok scraper scrape and add to CSV
I am building this scraper and I am trying to scrape TikTok hastags, then get the username from that hashtag, followed by scarping each username that I previously scraped. When finished want the ...
0
votes
0
answers
81
views
How to stop an API connection using Python
I wrote this code to determine whether a TikTok live video is (live now) or (ended) one.
After getting the result (live now or not), it keeps running and giving the result... I want to stop the API ...
-1
votes
2
answers
204
views
How to download video from tiktok url by flutter?
I would like to download video from tiktok url by flutter.
I was able to extract only video url from tiktok video url.
Like this
https://v16-webapp.tiktok.com/16301adb3bdaee90952c0a29ba9aa269/6280a48d/...
0
votes
1
answer
172
views
Unable to generate the Tiktok access token for web
Here is my Request Post URL:
https://open-api.tiktok.com/oauth/access_token/?client_key=fgjvjhg&client_secret=ghhjgjhgjkhjk&code=Web&grant_type=authorization_code
Here is the response ...
0
votes
0
answers
751
views
How to get login cookie on tiktok
I want to scrape tiktok comments on apify, but the settings tells me that i need to provide cookies to log in as a normal TikTok user (you can copy with a Chrome plugin like 'EditThisCookie').
Click ...
1
vote
1
answer
49
views
Getting Error with UI for TikTok algorithm
So I basically made a algorithm which takes the users input and decided on a rank from 1-100 and puts it on a UI.
import tkinter, os, webbrowser, random
#algorithm
def tiktok_algorithm(share_count, ...
0
votes
1
answer
395
views
TikTok open API video.list Fields request
Can retrieve videos without any problems but trying to request the 'fields' in endpoint always calls a 404 error. I try to follow the documentation https://developers.tiktok.com/doc/login-kit-video-...
0
votes
0
answers
26
views
I cant put directory file
I was making a python file with PyTiktokAPI and when I used the downloadVideoByIdNoWatermark I upon with this error because of this line of code
ID = Write.Input("Put Tiktok video ID here. (ex: ...
0
votes
0
answers
78
views
Error 20002 on Video Query function in TikTok's Login Kit API
I noticed that there's very few documentation about error handling on TikTok's login kit, so here's my problem:
I'm using the Video Query function, but i'm getting a error 20002 for a certain user
...
0
votes
0
answers
97
views
TikTok video embedding does not work on Angular 13
On my app, I am trying to embed a TikTok video in the following format.
index.html file's head:
<script async src="https://www.tiktok.com/embed.js"></script>
TS file's ngOnInit:
...
0
votes
2
answers
275
views
Having trouble implementing TikTok's Login Kit on localhost
All of the tutorials and Stack Overflow answers I've been seeing have addressed production environments, but haven't addressed any redirects and callbacks for a local environment. I'd love some help ...
0
votes
0
answers
259
views
Load video same as tiktok or Instagram in flutter
I am creating on video scrolling app here I have multiple videos. so i am having an issue is when I scroll through the video it takes a loading and then plays the video and if scroll back to the same ...
0
votes
2
answers
545
views
Flutter PageView Scroll but only for widgets and not entire pages
Today I have a question, not providing any code.
I would like to create a tiktok like experience for scrolling through my appfeed in flutter. However I don't want to scroll an entire page when I ...
0
votes
1
answer
448
views
Tiktok login kit redirect_uri on localhost
i'm trying to implement the tiktok login kit, but i'm having problems with the redirect_uri on localhost. Localhost can't be defined on the tiktok developers applications, so when i reach tiktok with ...
0
votes
1
answer
153
views
I can't create a tiktok page link because there's an @ but the other links work fine. Does anyone know how to fix it?
I'm building a website in HTML (mostly). It is a blazor application on visual studios. This is the code. The first two buttons work but there is an error around the @ in the TikTok one. Does anyone ...
0
votes
0
answers
2k
views
What is the exact Tiktok API endpoint to get list of video ids (aweme_ids) using user id (uid)?
TikTok API to fetch the list of video ids corresponding to a particular username
I have been getting the USER_ID using /aweme/v1/discover/search/?keyword=USERNAME&cursor=0&count=10&type=1&...
0
votes
0
answers
220
views
Create TikTok-Shop login signature
I'm currently synchronizing products between shopee and tiktok,
I'm doing the tiktok login step, but when I go to the signature creation part, I get an error, on the manual page there are 2 ways to do ...
0
votes
1
answer
325
views
Custom styling for Tiktok Embed in NextJS
I'm building a site that can use Tiktok oEmbed, so far so good but I have a problem that how can I custom style it like the body background is transparent?
I had already added styles, MutationObserver ...
0
votes
1
answer
24
views
How do you test your webapps on social network inapp browsers on mobile?
My goal is to use my webapp as ad target on the social network marketing campaign.
Facebook business has a feature to send an url to the mobile to test it.
I am able to test on Snapchat by sending me ...