TikTok-Api icon indicating copy to clipboard operation
TikTok-Api copied to clipboard

The Unofficial TikTok API Wrapper In Python

Results 160 TikTok-Api issues
Sort by recently updated
recently updated
newest added

Hi everyone, I want to get all tiktok video id from a user, this is code: ``` from TikTokApi import TikTokApi import asyncio import os ms_token = os.environ.get( "ms_token", None...

bug

**Is your feature request related to a problem? Please describe.** Now `hashtag.api` accepting only one hashtag. Is there any way to accept several of them for search request?

feature_request

"Hi there! I noticed in the code that ms_token is used, but I couldn't find where it's obtained or where it's set in the project. Could you please provide guidance...

installation_help

async for video in tag.videos(count=10): video_id = video.id video_bytes = api.video(id=video_id).bytes() file_name = video_id + ".mp4" with open(file_name, "wb") as out: out.write(video_bytes) Abnormal information: TypeError: a bytes-like object is required,...

bug

**Describe the bug** Tiktok throwing a fit and not giving me my comments. **The buggy code** Please add any relevant code that is giving you unexpected results. Preferably the smallest...

bug

Hello, I installed TikTokApi via pip install TikTokApi --upgrade and then python -m playwright install. Everything it's okay but I have the error "No module named 'TikTokApi'" when I try...

installation_help

**Describe the bug** I'm currently facing the following issue acquiring user video data: ```TikTokApi.exceptions.EmptyResponseException: None -> TikTok returned an empty response``` **The buggy code** ``` from TikTokApi import TikTokApi import...

bug

Does anyone know what the cause of the ultra-common "EmptyResponseException: None -> TikTok returned an empty response" error is? This article states that "TikTok's free APIs have usage restrictions. The...

bug

From the script below, can we only get text/comments from the user? from TikTokApi import TikTokApi import asyncio import os video_id = 7331767529976745234 ms_token = os.environ.get("ms_token", None) # set your...

feature_request

error_code: 1031 What does it mean? I get this in the verification code sent to the e-mail. I am sending the $code I sent in compliance with Tiktok encryption. ```php...

feature_request