TikTok โพสต์ที่ผู้ใช้ได้เผยแพร่ API (V1)
สถานะสุขภาพของ API
สถานะดี มีสภาพ จำกัด ส่วนใหญ่ไม่มีสภาพ ไม่มีข้อมูล
กำลังโหลดสถานะสุขภาพ...
ค้นหาโพสต์ที่เผยแพร่โดยผู้ใช้ TikTok ที่ระบุด้วย secUid โดยใช้การแสดงผลแบบเคอร์เซอร์และการจัดเรียงตามลำดับใหม่หรือโพสต์ที่ได้รับความนิยมมากที่สุด ใช้เพื่อดูประวัติการโพสต์ของผู้สร้างหรือดำเนินการต่อในฟีดโพสต์สาธารณะของพวกเขา
พารามิเตอร์
| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
|---|---|---|---|---|---|
token |
query | string |
ใช่ | - | โทเค็นความปลอดภัยสำหรับเข้าถึง API |
secUid |
query | string |
ใช่ | - | ID ความปลอดภัยที่ไม่เปิดเผยสำหรับผู้ใช้ TikTok. |
cursor |
query | string |
ไม่ใช่ | 0 |
คอร์เซอร์การแสดงผลการแสดงผลแบบพาร์ทิชัน. ใช้ '0' สำหรับหน้าแรก, จากนั้นใช้ค่า max_cursor ที่ได้รับในคำตอบก่อนหน้า. |
sort |
query | string |
ไม่ใช่ | LATEST |
เกณฑ์การจัดเรียงสำหรับโพสต์ของผู้ใช้. ค่าที่มีอยู่: - LATEST: โพสต์ใหม่ก่อนหน้า (เริ่มต้น)- MOST_POPULAR: โพสต์ที่ได้รับความนิยมมากที่สุด |
ตัวอย่างโค้ด
bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/tiktok/get-user-post/v1?token=YOUR_API_KEY&secUid=VALUE'
text
ฉันต้องการใช้ API "โพสต์ที่ผู้ใช้ได้เผยแพร่ (V1)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/tiktok/get-user-post/v1?token=YOUR_API_KEY&secUid=VALUE
เอนด์พอยต์ API: BASE_URL + /api/tiktok/get-user-post/v1?token=YOUR_API_KEY&secUid=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/tiktok/user-published-posts-v1-th.json
พารามิเตอร์:
- token (query): โทเค็นความปลอดภัยสำหรับเข้าถึง API (จำเป็น)
- secUid (query): ID ความปลอดภัยที่ไม่เปิดเผยสำหรับผู้ใช้ TikTok. (จำเป็น)
- cursor (query): คอร์เซอร์การแสดงผลการแสดงผลแบบพาร์ทิชัน. ใช้ '0' สำหรับหน้าแรก, จากนั้นใช้ค่า max_cursor ที่ได้รับในคำตอบก่อนหน้า.
- sort (query): เกณฑ์การจัดเรียงสำหรับโพสต์ของผู้ใช้.
ค่าที่มีอยู่:
- `LATEST`: โพสต์ใหม่ก่อนหน้า (เริ่มต้น)
- `MOST_POPULAR`: โพสต์ที่ได้รับความนิยมมากที่สุด
รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง
การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "code" ในผลตอบกลับ (รหัส 0 หมายถึงสำเร็จ)
2. แนะนำให้ตั้งระยะเวลารอ 120 วินาที หาก 120 วินาทีนานเกินไป ให้ตั้งอย่างน้อย 60 วินาที แต่คำขอบางรายการอาจหมดเวลาก่อนได้รับผลลัพธ์
3. รหัสผลลัพธ์:
- 0: สำเร็จ
- 100: โทเคนไม่ถูกต้องหรือถูกปิดใช้งาน
- 301: ดึงข้อมูลไม่สำเร็จ โปรดลองอีกครั้ง
- 302: เกินขีดจำกัดอัตราการเรียก
- 303: ใช้โควตารายวันครบแล้ว
- 400: พารามิเตอร์ไม่ถูกต้อง
- 500: ข้อผิดพลาดภายในเซิร์ฟเวอร์
- 600: ไม่มีสิทธิ์เข้าถึง
- 601: ยอดเงินคงเหลือไม่เพียงพอ
- 602: ถึงวงเงินของโทเคนแล้ว
4. รหัส 601 หมายถึงยอดเงินที่ใช้ร่วมกันของบัญชีไม่เพียงพอ รหัส 602 หมายถึงโทเคน API ถึงวงเงินสะสมของตนเองแล้ว การกำหนดวงเงินโทเคนจะไม่โอนเงินออกจากยอดเงินที่ใช้ร่วมกันของบัญชี
กรุณาช่วยเขียนสคริปต์ในภาษาโปรแกรมที่ฉันชื่นชอบเพื่อเรียกใช้ API และจัดการการตอบกลับ.
python
import requests
BASE_URL = "https://api.justoneapi.com" # ให้โดยเซิร์ฟเวอร์ OpenAPI
url = BASE_URL + "/api/tiktok/get-user-post/v1?token=YOUR_API_KEY&secUid=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
content_type = response.headers.get("content-type", "").lower()
if "json" in content_type:
try:
print(response.json())
except ValueError:
print(response.text)
elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
print(response.text)
else:
with open("response.bin", "wb") as output:
output.write(response.content)
print(f"Saved {len(response.content)} bytes to response.bin")
js
const BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
const url = BASE_URL + "/api/tiktok/get-user-post/v1?token=YOUR_API_KEY&secUid=VALUE";
const response = await fetch(url, {
method: "GET",
signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
const contentType = (response.headers.get("content-type") || "").toLowerCase();
const mediaType = contentType.split(";", 1)[0].trim();
const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
if (textual) {
const responseText = new TextDecoder().decode(responseBytes);
let data = responseText;
if (contentType.includes("json")) {
try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
}
console.log(data);
} else {
console.log(`Received ${responseBytes.byteLength} binary bytes`);
}
}
java
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
public class Main {
public static void main(String[] args) throws Exception {
final String BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
final String url = BASE_URL + "/api/tiktok/get-user-post/v1?token=YOUR_API_KEY&secUid=VALUE";
HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
HttpRequest.Builder builder = HttpRequest.newBuilder()
.uri(URI.create(url))
.timeout(Duration.ofSeconds(120))
.method("GET", HttpRequest.BodyPublishers.noBody());
HttpRequest request = builder.build();
HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
System.out.println(response.statusCode());
String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
String mediaType = contentType.split(";", 2)[0].trim();
if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
System.out.println(new String(response.body(), StandardCharsets.UTF_8));
} else {
Files.write(Path.of("response.bin"), response.body());
System.out.println("Saved " + response.body().length + " bytes to response.bin");
}
}
}
go
package main
import (
"fmt"
"io"
"os"
"strings"
"net/http"
"time"
)
const BASE_URL = "https://api.justoneapi.com" // ให้โดยเซิร์ฟเวอร์ OpenAPI
func main() {
client := &http.Client{Timeout: 120 * time.Second}
url := BASE_URL + "/api/tiktok/get-user-post/v1?token=YOUR_API_KEY&secUid=VALUE"
req, _ := http.NewRequest("GET", url, nil)
resp, _ := client.Do(req)
defer resp.Body.Close()
fmt.Println(resp.StatusCode)
bodyBytes, _ := io.ReadAll(resp.Body)
contentType := strings.ToLower(resp.Header.Get("Content-Type"))
mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
fmt.Println(string(bodyBytes))
} else {
os.WriteFile("response.bin", bodyBytes, 0600)
fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
}
}
php
<?php
$BASE_URL = 'https://api.justoneapi.com'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$url = $BASE_URL . '/api/tiktok/get-user-post/v1?token=YOUR_API_KEY&secUid=VALUE';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
echo $response;
} else {
file_put_contents('response.bin', $response);
echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
ฟิลด์ที่ได้รับการตอบกลับ
ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (code = 0).
ภาพรวมของโพสต์7 ฟิลด์
data.aweme_list[]
โพสต์ที่ส่งกลับมาสำหรับหน้านี้ โพสต์เดียวกันอาจปรากฏใน LATEST และ MOST_POPULAR
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
aweme_id |
string |
ID โพสต์ของ TikTok ที่ส่งกลับมาเป็นข้อความ |
desc |
string |
ข้อความคำบรรยายที่แนบมาด้วยกับโพสต์ |
create_time |
integer |
เวลาการสร้างโพสต์เป็นเวลาที่ Unix ในหน่วยวินาที |
desc_language |
string |
ป้ายกำกับภาษาที่รายงานสำหรับคำบรรยาย |
aweme_type |
integer |
ประเภทโพสต์ที่เป็นตัวเลขที่ TikTok รายงาน |
is_top |
integer |
ตัวบ่งชี้ประเภทโพสต์ที่เป็นตัวเลข โดยที่ 1 หมายถึงโพสต์ที่ถูกติดแท็ก |
is_ads |
boolean |
TikTok จะจัดให้โพสต์นี้เป็นโฆษณาหรือไม่ |
ผู้เขียนและผู้ร่วมงาน18 ฟิลด์
data.aweme_list[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
author_user_id |
integer |
ID ของผู้เขียนที่ส่งกลับมาเป็นจำนวนเต็ม ซึ่งอาจเกินขีดจำกัดจำนวนเต็มของ JavaScript ใช้ข้อความใน author.uid สำหรับ ID ที่แม่นยำ |
author |
object |
สรุปโปรไฟล์สาธารณะของผู้เขียนโพสต์ |
author.uid |
string |
ID ของผู้เขียน TikTok ในรูปแบบข้อความ. ใช้ฟิลด์นี้เพื่อเก็บ ID ที่แม่นยำใน JavaScript. |
author.nickname |
string |
ชื่อที่แสดงในโปรไฟล์ของผู้เขียนโพสต์. |
author.unique_id |
string |
ชื่อผู้ใช้ TikTok ของผู้เขียนโพสต์ที่เป็นสาธารณชน. |
author.follower_count |
integer |
จำนวนผู้ติดตามที่รายงานสำหรับผู้เขียนโพสต์. |
author.following_count |
integer |
จำนวนบัญชีที่ผู้เขียนติดตาม ตามที่ TikTok รายงาน. |
author.aweme_count |
integer |
จำนวนโพสต์ของบัญชีของผู้เขียนตามที่รายงาน |
author.total_favorited |
integer |
จำนวนไลก์ทั้งหมดที่ผู้เขียนได้รับ ตามที่รายงานในสารบัญโปรไฟล์. |
author.custom_verify |
string |
ข้อความยืนยันโปรไฟล์ที่ส่งกลับมาสำหรับผู้เขียน หากมี. |
author.enterprise_verify_reason |
string |
ข้อความยืนยันสำหรับผู้เขียนในรูปแบบ Enterprise หากมี. |
collab_info |
object |
ข้อมูลการร่วมมือเมื่อส่งกลับมา |
collab_info.collaborators |
array |
รายละเอียดของผู้ร่วมมือที่แสดงรายการสำหรับโพสต์ |
collab_info.collaborators[] |
object |
รายการผู้ร่วมมือหนึ่ง |
collab_info.collaborators[].user_info |
object |
สรุปข้อมูลส่วนตัวของผู้ร่วมมือนี้ |
collab_info.collaborators[].user_info.uid |
string |
ID ของผู้ร่วมมือบน TikTok ในรูปแบบข้อความ |
collab_info.collaborators[].user_info.nickname |
string |
ชื่อที่ปรากฏของผู้ร่วมมือ |
collab_info.collaborators[].user_info.unique_id |
string |
ชื่อผู้ใช้บน TikTok ของผู้ร่วมมือ |
ระดับความสนใจและความพร้อมใช้งาน16 ฟิลด์
data.aweme_list[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
prevent_download |
boolean |
TikTok จะจัดให้การดาวน์โหลดโพสต์เป็นสิ่งที่ถูกห้ามหรือไม่ |
statistics |
object |
จำนวนการมีส่วนร่วมที่รายงานสำหรับโพสต์นี้. |
statistics.aweme_id |
string |
ID ของโพสต์ที่เกี่ยวข้องกับอ็อบเจกต์สถิตินี้. |
statistics.play_count |
integer |
จำนวนครั้งที่โพสต์ถูกเล่นที่รายงาน. |
statistics.digg_count |
integer |
จำนวนคนที่กดไลค์โพสต์ที่รายงาน |
statistics.comment_count |
integer |
จำนวนความคิดเห็นที่รายงานสำหรับโพสต์นี้. |
statistics.share_count |
integer |
จำนวนคนที่แชร์โพสต์ที่รายงาน |
statistics.collect_count |
integer |
จำนวนครั้งที่โพสต์ถูกแตะเพื่อทำเป็น bookmark ที่รายงาน. |
statistics.download_count |
integer |
จำนวนครั้งที่โพสต์ถูกดาวน์โหลดที่รายงาน. |
statistics.repost_count |
integer |
จำนวนครั้งที่โพสต์ถูก Repost ผ่าน TikTok ที่รายงาน. |
statistics.whatsapp_share_count |
integer |
จำนวนครั้งที่โพสต์ถูกแชร์ผ่าน WhatsApp ที่รายงาน. |
status |
object |
ป้ายกำกับเกี่ยวกับความพร้อมใช้งานของโพสต์นี้. |
status.aweme_id |
string |
ID ของโพสต์ที่เกี่ยวข้องกับฟิลด์สถานะเหล่านี้. |
status.allow_share |
boolean |
ว่าสถานะของโพสต์แสดงว่าการแชร์อนุญาตหรือไม่. |
status.allow_comment |
boolean |
ว่าสถานะของโพสต์แสดงว่าการแสดงความคิดเห็นอนุญาตหรือไม่. |
status.is_delete |
boolean |
ว่าตาม TikTok โพสต์ถูกจัดเป็นโพสต์ที่ถูกลบหรือไม่. |
วิดีโอ15 ฟิลด์
data.aweme_list[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
video |
object |
ข้อมูลเมตาดาต้าของวิดีโอ. โพสต์รูปภาพอาจมีข้อมูลนี้ด้วย. |
video.duration |
integer |
ความยาวของวิดีโอในหน่วยมิลลิวินาที. โพสต์รูปภาพอาจมี placeholder วิดีโอที่มีความยาว 0. |
video.width |
integer |
ความกว้างของวิดีโอในพิกเซล |
video.height |
integer |
ความสูงของวิดีโอในพิกเซล |
video.ratio |
string |
ป้ายกำกับความละเอียดของวิดีโอที่ TikTok รายงาน. |
video.play_addr |
object |
ข้อมูลเมตาดาต้าของสื่อที่ถูกเล่น. |
video.play_addr.data_size |
integer |
ขนาดของแหล่งข้อมูลการเล่นที่รายงานในหน่วยไบต์ |
video.bit_rate |
array |
รูปแบบวิดีโอที่มีอยู่ องค์ประกอบอาจว่างเปล่าได้ |
video.bit_rate[] |
object |
รูปแบบวิดีโอหนึ่งที่รายงานไว้ |
video.bit_rate[].gear_name |
string |
ป้ายกำกับของรูปแบบวิดีโอที่ TikTok รายงาน |
video.bit_rate[].quality_type |
integer |
รหัสคุณภาพของรูปแบบวิดีโอในรูปแบบตัวเลข |
video.bit_rate[].bit_rate |
integer |
อัตราการส่งข้อมูลในหน่วยบิตต่อวินาทีสำหรับรูปแบบวิดีโอนี้ |
video.bit_rate[].fps |
integer |
อัตราการแสดงภาพในหน่วยภาพต่อวินาทีสำหรับรูปแบบวิดีโอนี้ |
video.bit_rate[].play_addr |
object |
ข้อมูลเมตาดาต้าของสื่อที่ถูกเล่น. |
video.bit_rate[].play_addr.data_size |
integer |
ขนาดของแหล่งข้อมูลการเล่นที่รายงานในหน่วยไบต์ |
โพสต์ภาพ29 ฟิลด์
data.aweme_list[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
image_post_info |
object |
ข้อมูลเมตาดาต้าของภาพโพสต์เมื่อส่งกลับมา กรุ๊ปภาพ images ที่มีข้อมูลจะระบุภาพโพสต์ |
image_post_info.title |
string |
ชื่อของภาพโพสต์ |
image_post_info.images |
array |
ภาพที่รวมอยู่ในกรุ๊ปภาพของโพสต์ |
image_post_info.images[] |
object |
ภาพหนึ่งในกรุ๊ปภาพ |
image_post_info.images[].display_image |
object |
ขนาดของรูปแบบวิดีโอที่แสดง |
image_post_info.images[].display_image.width |
integer |
ความกว้างของภาพในพิกเซล |
image_post_info.images[].display_image.height |
integer |
ความสูงของภาพในพิกเซล |
image_post_info.images[].thumbnail |
object |
ขนาดของรูปภาพขนาดย่อ |
image_post_info.images[].thumbnail.width |
integer |
ความกว้างของภาพในพิกเซล |
image_post_info.images[].thumbnail.height |
integer |
ความสูงของภาพในพิกเซล |
image_post_info.images[].owner_watermark_image |
object |
ขนาดของรูปแบบวิดีโอที่มีเครื่องหมายวรรคตอนจากผู้สร้าง |
image_post_info.images[].owner_watermark_image.width |
integer |
ความกว้างของภาพในพิกเซล |
image_post_info.images[].owner_watermark_image.height |
integer |
ความสูงของภาพในพิกเซล |
image_post_info.images[].user_watermark_image |
object |
ขนาดของรูปแบบวิดีโอที่มีเครื่องหมายวรรคตอนจากผู้ใช้ |
image_post_info.images[].user_watermark_image.width |
integer |
ความกว้างของภาพในพิกเซล |
image_post_info.images[].user_watermark_image.height |
integer |
ความสูงของภาพในพิกเซล |
image_post_info.image_post_cover |
object |
ขนาดของภาพปกโพสต์และขนาดของรูปแบบวิดีโอที่แสดง |
image_post_info.image_post_cover.display_image |
object |
ขนาดของรูปแบบวิดีโอที่แสดง |
image_post_info.image_post_cover.display_image.width |
integer |
ความกว้างของภาพในพิกเซล |
image_post_info.image_post_cover.display_image.height |
integer |
ความสูงของภาพในพิกเซล |
image_post_info.image_post_cover.thumbnail |
object |
ขนาดของรูปภาพขนาดย่อ |
image_post_info.image_post_cover.thumbnail.width |
integer |
ความกว้างของภาพในพิกเซล |
image_post_info.image_post_cover.thumbnail.height |
integer |
ความสูงของภาพในพิกเซล |
image_post_info.image_post_cover.owner_watermark_image |
object |
ขนาดของรูปแบบวิดีโอที่มีเครื่องหมายวรรคตอนจากผู้สร้าง |
image_post_info.image_post_cover.owner_watermark_image.width |
integer |
ความกว้างของภาพในพิกเซล |
image_post_info.image_post_cover.owner_watermark_image.height |
integer |
ความสูงของภาพในพิกเซล |
image_post_info.image_post_cover.user_watermark_image |
object |
ขนาดของรูปแบบวิดีโอที่มีเครื่องหมายวรรคตอนจากผู้ใช้ |
image_post_info.image_post_cover.user_watermark_image.width |
integer |
ความกว้างของภาพในพิกเซล |
image_post_info.image_post_cover.user_watermark_image.height |
integer |
ความสูงของภาพในพิกเซล |
เสียง10 ฟิลด์
data.aweme_list[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
music |
object |
ข้อมูลเมตาดาต้าของเสียงเมื่อรวมอยู่กับโพสต์ |
music.id_str |
string |
ID ของเสียงในรูปแบบข้อความของ TikTok |
music.title |
string |
ชื่อของเสียงที่แนบ |
music.author |
string |
ชื่อของศิลปินหรือผู้สร้างที่แสดงสำหรับเสียงนั้น |
music.album |
string |
ชื่ออัลบั้มที่แสดงสำหรับเสียงเมื่อมี |
music.duration |
integer |
ช่วงเวลาที่ TikTok รายงานสำหรับเสียงนั้น |
music.is_original_sound |
boolean |
TikTok ระบุเสียงนั้นว่าเป็นเสียงต้นฉบับหรือไม่ |
music.is_commerce_music |
boolean |
ป้ายกำกับเกี่ยวกับเพลงเชิงพาณิชย์สำหรับเสียงนั้นตามที่ TikTok รายงาน |
music_begin_time_in_ms |
integer |
ตำแหน่งเริ่มต้นของเสียงที่ใช้ในโพสต์ ในหน่วยมิลลิวินาที |
music_end_time_in_ms |
integer |
ตำแหน่งสิ้นสุดของเสียงที่ใช้ในโพสต์ ในหน่วยมิลลิวินาที |
ฮัซกิตและคำอธิบายคำบรรยาย14 ฟิลด์
data.aweme_list[]
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
cha_list |
array | null |
ฮัสตาก็ตและความท้าทายที่เกี่ยวข้องกับโพสต์ หากมี ค่าที่ได้อาจเป็น null |
cha_list[] |
object |
ฮัสตาก็ตหรือความท้าทายที่รายงานหนึ่ง |
cha_list[].cid |
string |
ID ของฮัสตาก็ตหรือความท้าทายบน TikTok |
cha_list[].cha_name |
string |
ชื่อที่ปรากฏของฮัสตาก็ตหรือความท้าทาย |
cha_list[].desc |
string |
คำอธิบายที่ส่งกลับสำหรับฮัสตาก็ตหรือความท้าทาย |
cha_list[].view_count |
integer |
จำนวนการดูที่รายงานสำหรับฮัสตาก็ตหรือความท้าทาย |
cha_list[].use_count |
integer |
จำนวนการใช้งานที่รายงานสำหรับฮัสตาก็ตหรือความท้าทาย |
text_extra |
array |
คำอธิบายที่แนบมากับคำบรรยายของโพสต์ |
text_extra[] |
object |
คำอธิบายหนึ่ง |
text_extra[].start |
integer |
ค่าการเริ่มต้นของคำอธิบายที่รายงานสำหรับคำบรรยาย ตำแหน่งของฮัสตาก็ตที่สังเกตได้ใช้หน่วยรหัส UTF-16 |
text_extra[].end |
integer |
ค่าสิ้นสุดของคำอธิบายที่รายงานสำหรับคำบรรยาย ตำแหน่งของฮัสตาก็ตที่สังเกตได้ใช้หน่วยรหัส UTF-16 |
text_extra[].type |
integer |
ประเภทของคำอธิบายที่เป็นตัวเลขที่รายงานโดย TikTok |
text_extra[].hashtag_name |
string |
ชื่อฮัสตาก็ตเมื่อคำอธิบายนี้ระบุถึงฮัสตาก็ต |
text_extra[].hashtag_id |
string |
ID ของฮัสตาก็ตเมื่อคำอธิบายนี้ระบุถึงฮัสตาก็ต |
การแสดงผลการแสดงผลและสถานะ5 ฟิลด์
data
| ฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
|---|---|---|
status_code |
integer |
รหัสสถานะของ TikTok สำหรับผลลัพธ์นี้ รหัส code ภายนอกคือรหัสธุรกิจของ JustOneAPI |
status_msg |
string |
ข้อความสถานะที่ TikTok ส่งกลับมา |
min_cursor |
integer |
คำบอกเลขขอบเขตหน้าเพิ่มเติมที่ TikTok รายงาน |
max_cursor |
integer |
คำบอกเลขสำหรับหน้าเพิ่มเติม หาก has_more เป็น 1 ให้ส่งค่าเฉพาะนี้เป็นตัวเลขทศนิยมไปยัง cursor สำหรับผู้ใช้เดียวและจัดเรียง |
has_more |
integer |
ตัวบ่งชี้การแสดงผลหน้าเพิ่มเติมที่ TikTok รายงาน ค่า 1 หมายถึงหน้าเพิ่มเติม อีกค่า 0 หมายถึงจุดสิ้นสุด |
ตัวอย่างผลการตอบกลับ
กำลังโหลดตัวอย่างการตอบกลับ...