---
title: "Weibo รายละเอียดโพสต์ API (V1)"
description: "ดึงข้อมูลรายละเอียดของโพสต์ Weibo ที่ระบุด้วย ID โพสต์ ใช้เพื่อค้นหาโพสต์ที่รู้จักเพื่อการตรวจสอบเนื้อหา การจัดเก็บ หรือการวิเคราะห์การมีส่วนร่วมที่เกี่ยวข้อง"
lastUpdated: false
aiUsagePrompt: true
---

# Weibo รายละเอียดโพสต์ API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/weibo/get-weibo-detail/v1\"")'
  :summary='JSON.parse("\"รายละเอียดโพสต์ (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/weibo/post-details-v1-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นสำหรับเข้าถึง API\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"id\",\"in\":\"query\",\"description\":\"ID ของโพสต์ Weibo.\",\"required\":true,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":[\"object\",\"null\"],\"description\":\"รายละเอียดโพสต์ของ Weibo. ค่าอาจเป็น null หากโพสต์ไม่สามารถเข้าถึงได้.\",\"properties\":{\"canonical\":{\"type\":\"string\",\"description\":\"ไอเทมลิงก์มาตรฐานที่ส่งมาสำหรับโพสต์ ซึ่งถูกส่งกลับมาในรูปแบบข้อความ HTML\"},\"status\":{\"type\":\"object\",\"description\":\"โพสต์ของ Weibo ที่ถูกขอ.\",\"properties\":{\"retweeted_status\":{\"type\":\"object\",\"description\":\"โพสต์ต้นฉบับที่ถูกรวมเข้ากับโพสต์ใหม่, หากมี. ข้อมูลผู้เขียนอาจเป็น null.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุโพสต์ของ Weibo ในรูปแบบสตริง.\"},\"mid\":{\"type\":\"string\",\"description\":\"ID ข้อความของ Weibo ในรูปแบบสตริง.\"},\"bid\":{\"type\":\"string\",\"description\":\"ชื่อตัวระบุสั้นๆ สำหรับโพสต์ของ Weibo.\"},\"created_at\":{\"type\":\"string\",\"description\":\"เวลาโพสต์ตามรูปแบบเวลาของ Weibo.\"},\"text\":{\"type\":\"string\",\"description\":\"เนื้อหาโพสต์ที่ Weibo ส่งกลับมา ซึ่งอาจมีการแทรกข้อความ HTML\"},\"textLength\":{\"type\":\"integer\",\"description\":\"ความยาวของข้อความโพสต์ตามที่ Weibo รายงาน.\"},\"source\":{\"type\":\"string\",\"description\":\"ป้ายกำกับของโพสต์ หากมี\"},\"isLongText\":{\"type\":\"boolean\",\"description\":\"ว่า Weibo จะจัดประเภทโพสต์นี้เป็นข้อความยาวหรือไม่\"},\"is_paid\":{\"type\":\"boolean\",\"description\":\"ว่า Weibo จะจัดประเภทโพสต์นี้เป็นเนื้อหาจ่ายเงินหรือไม่\"},\"ad_marked\":{\"type\":\"boolean\",\"description\":\"ว่า Weibo จะจัดประเภทโพสต์นี้เป็นโฆษณาหรือไม่\"},\"can_edit\":{\"type\":\"boolean\",\"description\":\"ว่าสามารถแก้ไขโพสต์ในบริบทของการตอบกลับได้หรือไม่\"},\"favorited\":{\"type\":\"boolean\",\"description\":\"โพสต์นี้ถูกจัดประเภทเป็นโพสต์ที่ชื่นชอบในบริบทของการตอบกลับหรือไม่\"},\"visible\":{\"type\":\"object\",\"description\":\"การตั้งค่าการมองเห็นที่ส่งกลับมาพร้อมกับโพสต์นี้\",\"properties\":{\"type\":{\"type\":\"integer\",\"description\":\"รหัสการมองเห็นเชิงตัวเลขที่ Weibo รายงาน\"},\"list_id\":{\"type\":\"integer\",\"description\":\"รหัส ID ของรายการการมองเห็นที่เกี่ยวข้อง\"},\"list_idstr\":{\"type\":\"string\",\"description\":\"ID ของรายการการมองเห็นที่เกี่ยวข้อง ซึ่งแสดงเป็นข้อความ\"}}},\"user\":{\"type\":[\"object\",\"null\"],\"description\":\"ข้อมูลผู้เขียนที่เปิดเผยต่อสาธารณะที่แนบมาพร้อมกับโพสต์\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"รหัส ID ของผู้ใช้ Weibo\"},\"screen_name\":{\"type\":\"string\",\"description\":\"ชื่อบัญชี Weibo ที่แสดง\"},\"description\":{\"type\":\"string\",\"description\":\"คำอธิบายโปรไฟล์สาธารณะ\"},\"profile_image_url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพโปรไฟล์\"},\"avatar_hd\":{\"type\":\"string\",\"description\":\"URL ของอวตารความละเอียดสูง\"},\"profile_url\":{\"type\":\"string\",\"description\":\"ลิงก์โปรไฟล์ที่ Weibo ส่งกลับมา\"},\"cover_image_phone\":{\"type\":\"string\",\"description\":\"URL ของภาพปกโปรไฟล์สำหรับการดูบนมือถือ\"},\"verified\":{\"type\":\"boolean\",\"description\":\"Weibo จะจัดประเภทบัญชีนี้เป็นบัญชีที่ได้รับการยืนยันหรือไม่\"},\"verified_type\":{\"type\":\"integer\",\"description\":\"ประเภทการยืนยันบัญชีที่ Weibo รายงาน\"},\"verified_type_ext\":{\"type\":\"integer\",\"description\":\"การจำแนกประเภทการยืนยันบัญชีเพิ่มเติม\"},\"verified_reason\":{\"type\":\"string\",\"description\":\"คำอธิบายการยืนยันที่แสดงสำหรับบัญชี\"},\"statuses_count\":{\"type\":\"integer\",\"description\":\"จำนวนโพสต์ที่บัญชีนี้มี\"},\"follow_count\":{\"type\":\"integer\",\"description\":\"จำนวนบัญชีที่บัญชีนี้ติดตาม ตามที่ Weibo รายงาน\"},\"followers_count\":{\"type\":\"string\",\"description\":\"จำนวนผู้ติดตามที่ส่งกลับมาในรูปแบบข้อความ ซึ่งอาจมีรูปแบบการแสดงที่ย่อ\"},\"followers_count_str\":{\"type\":\"string\",\"description\":\"ข้อความจำนวนผู้ติดตามที่แสดงเพื่อการแสดง\"},\"following\":{\"type\":\"boolean\",\"description\":\"บัญชีที่กำลังดูนี้ถูกจัดประเภทเป็นบัญชีที่ติดตามผู้เขียนนี้หรือไม่\"},\"follow_me\":{\"type\":\"boolean\",\"description\":\"ว่าผู้เขียนมีการระบุว่าเป็นผู้ใช้งานที่สามารถดูเนื้อหาได้หรือไม่。\"},\"gender\":{\"type\":\"string\",\"description\":\"รหัสเพศที่บันทึกไว้ในโปรไฟล์สาธารณะ。\"},\"mbrank\":{\"type\":\"integer\",\"description\":\"ระดับสมาชิกที่ Weibo รายงาน。\"},\"urank\":{\"type\":\"integer\",\"description\":\"ระดับบัญชีที่ Weibo รายงาน。\"}}},\"reposts_count\":{\"type\":\"integer\",\"description\":\"จำนวนการโพสต์ซ้ำที่ Weibo รายงาน。\"},\"comments_count\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นที่ Weibo รายงาน。\"},\"attitudes_count\":{\"type\":\"integer\",\"description\":\"จำนวนการแสดงปฏิกิริยาที่ Weibo รายงาน。\"},\"favorites_count\":{\"type\":\"integer\",\"description\":\"จำนวนการกดไลค์ที่ Weibo รายงาน。\"},\"pending_approval_count\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นที่แสดงในสถานะรอการอนุมัติ。\"},\"comment_manage_info\":{\"type\":\"object\",\"description\":\"การตั้งค่าความคิดเห็นสำหรับโพสต์นี้。\",\"properties\":{\"comment_permission_type\":{\"type\":\"integer\",\"description\":\"การตั้งค่าสิทธิ์ในการแสดงความคิดเห็นเป็นตัวเลข。\"},\"approval_comment_type\":{\"type\":\"integer\",\"description\":\"การตั้งค่าการอนุมัติความคิดเห็นเป็นตัวเลข。\"},\"comment_sort_type\":{\"type\":\"integer\",\"description\":\"การตั้งค่าการจัดลำดับความคิดเห็นเป็นตัวเลข。\"},\"comment_anon_type\":{\"type\":\"integer\",\"description\":\"การตั้งค่าการแสดงความคิดเห็นแบบไม่ระบุตัวตนเป็นตัวเลข。\"}}},\"pic_num\":{\"type\":\"integer\",\"description\":\"จำนวนรูปภาพที่บันทึกไว้สำหรับโพสต์。\"},\"pic_ids\":{\"type\":\"array\",\"description\":\"รหัสของรูปภาพที่แนบมาสำหรับโพสต์。รายการอาจว่างเปล่า。\"},\"page_info\":{\"type\":\"object\",\"description\":\"คาร์ดเนื้อหาที่แนบมา เช่น หัวข้อหรือวิดีโอแท้ หากมีให้。\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"ประเภทคาร์ดของ Weibo。\"},\"object_type\":{\"type\":\"integer\",\"description\":\"ประเภทวัตถุเนื้อหาที่ Weibo บันทึกไว้เป็นตัวเลข。\"},\"object_id\":{\"type\":\"string\",\"description\":\"ID ของวัตถุเนื้อหา Weibo ที่เกี่ยวข้องกับคาร์ด。\"},\"page_title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่แสดงสำหรับคาร์ดเนื้อหา。\"},\"title\":{\"type\":\"string\",\"description\":\"ช่องเรื่องที่ส่งกลับมาพร้อมกับคาร์ดเนื้อหา。อาจว่างเปล่า。\"},\"content1\":{\"type\":\"string\",\"description\":\"บรรทัดข้อความแรกที่ส่งกลับมาสำหรับคาร์ดเนื้อหา。\"},\"content2\":{\"type\":\"string\",\"description\":\"บรรทัดข้อความที่สองที่ส่งกลับมาสำหรับคาร์ดเนื้อหา。\"},\"page_pic\":{\"type\":\"object\",\"description\":\"ข้อมูลภาพสำหรับคาร์ดเนื้อหา。\",\"properties\":{\"pid\":{\"type\":\"string\",\"description\":\"ID ของรูปภาพ Weibo.\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพในหน้าเนื้อหา.\"},\"width\":{\"type\":\"string\",\"description\":\"ความกว้างของรูปภาพในพิกเซล แสดงเป็นข้อความ.\"},\"height\":{\"type\":\"string\",\"description\":\"ความสูงของรูปภาพในพิกเซล แสดงเป็นข้อความ.\"}}},\"video_orientation\":{\"type\":\"string\",\"description\":\"คำอธิบายทิศทางของวิดีโอที่ให้มาจาก Weibo.\"},\"play_count\":{\"type\":\"string\",\"description\":\"จำนวนการเล่นวิดีโอในรูปแบบข้อความ แสดงเป็นข้อความที่สามารถย่อได้.\"},\"media_info\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าในการเล่นวิดีโอแบบธรรมชาติ เมื่อมีการให้ข้อมูล.\",\"properties\":{\"duration\":{\"type\":\"number\",\"description\":\"ความยาวของวิดีโอที่รายงานโดยข้อมูลเมตาดาต้าในการเล่น.\"},\"stream_url\":{\"type\":\"string\",\"description\":\"URL ของสตรีมวิดีโอที่ Weibo ส่งกลับมา.\"},\"stream_url_hd\":{\"type\":\"string\",\"description\":\"URL ของสตรีมวิดีโอความละเอียดสูงที่ Weibo ส่งกลับมา.\"}}},\"urls\":{\"type\":\"object\",\"description\":\"URL ของวิดีโอที่มีอยู่ตามรูปแบบที่กำหนด.\",\"properties\":{\"mp4_hd_mp4\":{\"type\":\"string\",\"description\":\"URL ของ MP4 ความละเอียดสูง เมื่อมีการให้ข้อมูล.\"},\"mp4_ld_mp4\":{\"type\":\"string\",\"description\":\"URL ของ MP4 ความละเอียดต่ำ เมื่อมีการให้ข้อมูล.\"}}}}},\"title\":{\"type\":\"object\",\"description\":\"ข้อมูลเกี่ยวกับหัวข้อที่แนบมาด้วยกับโพสต์นี้.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"ข้อความหัวข้อที่แสดง.\"}}}}},\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุโพสต์ของ Weibo ในรูปแบบสตริง.\"},\"mid\":{\"type\":\"string\",\"description\":\"ID ข้อความของ Weibo ในรูปแบบสตริง.\"},\"bid\":{\"type\":\"string\",\"description\":\"ชื่อตัวระบุสั้นๆ สำหรับโพสต์ของ Weibo.\"},\"created_at\":{\"type\":\"string\",\"description\":\"เวลาโพสต์ตามรูปแบบเวลาของ Weibo.\"},\"text\":{\"type\":\"string\",\"description\":\"เนื้อหาโพสต์ที่ Weibo ส่งกลับมา ซึ่งอาจมีการแทรกข้อความ HTML\"},\"raw_text\":{\"type\":\"string\",\"description\":\"ข้อความเนื้อหาโพสต์ เมื่อ Weibo ให้ข้อมูลแยกต่างหาก.\"},\"textLength\":{\"type\":\"integer\",\"description\":\"ความยาวของข้อความโพสต์ตามที่ Weibo รายงาน.\"},\"source\":{\"type\":\"string\",\"description\":\"ป้ายกำกับของโพสต์ หากมี\"},\"status_title\":{\"type\":\"string\",\"description\":\"ข้อความหัวข้อที่แสดงสำหรับโพสต์.\"},\"isLongText\":{\"type\":\"boolean\",\"description\":\"ว่า Weibo จะจัดประเภทโพสต์นี้เป็นข้อความยาวหรือไม่\"},\"is_paid\":{\"type\":\"boolean\",\"description\":\"ว่า Weibo จะจัดประเภทโพสต์นี้เป็นเนื้อหาจ่ายเงินหรือไม่\"},\"ad_marked\":{\"type\":\"boolean\",\"description\":\"ว่า Weibo จะจัดประเภทโพสต์นี้เป็นโฆษณาหรือไม่\"},\"region_name\":{\"type\":\"string\",\"description\":\"คำอธิบายภูมิภาคที่แสดงสำหรับโพสต์.\"},\"can_edit\":{\"type\":\"boolean\",\"description\":\"ว่าสามารถแก้ไขโพสต์ในบริบทของการตอบกลับได้หรือไม่\"},\"favorited\":{\"type\":\"boolean\",\"description\":\"โพสต์นี้ถูกจัดประเภทเป็นโพสต์ที่ชื่นชอบในบริบทของการตอบกลับหรือไม่\"},\"visible\":{\"type\":\"object\",\"description\":\"การตั้งค่าการมองเห็นที่ส่งกลับมาพร้อมกับโพสต์นี้\",\"properties\":{\"type\":{\"type\":\"integer\",\"description\":\"รหัสการมองเห็นเชิงตัวเลขที่ Weibo รายงาน\"},\"list_id\":{\"type\":\"integer\",\"description\":\"รหัส ID ของรายการการมองเห็นที่เกี่ยวข้อง\"}}},\"user\":{\"type\":\"object\",\"description\":\"ข้อมูลผู้เขียนที่เปิดเผยต่อสาธารณะที่แนบมาพร้อมกับโพสต์\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"รหัส ID ของผู้ใช้ Weibo\"},\"screen_name\":{\"type\":\"string\",\"description\":\"ชื่อบัญชี Weibo ที่แสดง\"},\"description\":{\"type\":\"string\",\"description\":\"คำอธิบายโปรไฟล์สาธารณะ\"},\"profile_image_url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพโปรไฟล์\"},\"avatar_hd\":{\"type\":\"string\",\"description\":\"URL ของอวตารความละเอียดสูง\"},\"profile_url\":{\"type\":\"string\",\"description\":\"ลิงก์โปรไฟล์ที่ Weibo ส่งกลับมา\"},\"cover_image_phone\":{\"type\":\"string\",\"description\":\"URL ของภาพปกโปรไฟล์สำหรับการดูบนมือถือ\"},\"verified\":{\"type\":\"boolean\",\"description\":\"Weibo จะจัดประเภทบัญชีนี้เป็นบัญชีที่ได้รับการยืนยันหรือไม่\"},\"verified_type\":{\"type\":\"integer\",\"description\":\"ประเภทการยืนยันบัญชีที่ Weibo รายงาน\"},\"verified_type_ext\":{\"type\":\"integer\",\"description\":\"การจำแนกประเภทการยืนยันบัญชีเพิ่มเติม\"},\"verified_reason\":{\"type\":\"string\",\"description\":\"คำอธิบายการยืนยันที่แสดงสำหรับบัญชี\"},\"statuses_count\":{\"type\":\"integer\",\"description\":\"จำนวนโพสต์ที่บัญชีนี้มี\"},\"follow_count\":{\"type\":\"integer\",\"description\":\"จำนวนบัญชีที่บัญชีนี้ติดตาม ตามที่ Weibo รายงาน\"},\"followers_count\":{\"type\":\"string\",\"description\":\"จำนวนผู้ติดตามที่ส่งกลับมาในรูปแบบข้อความ ซึ่งอาจมีรูปแบบการแสดงที่ย่อ\"},\"followers_count_str\":{\"type\":\"string\",\"description\":\"ข้อความจำนวนผู้ติดตามที่แสดงเพื่อการแสดง\"},\"following\":{\"type\":\"boolean\",\"description\":\"บัญชีที่กำลังดูนี้ถูกจัดประเภทเป็นบัญชีที่ติดตามผู้เขียนนี้หรือไม่\"},\"follow_me\":{\"type\":\"boolean\",\"description\":\"ว่าผู้เขียนมีการระบุว่าเป็นผู้ใช้งานที่สามารถดูเนื้อหาได้หรือไม่。\"},\"gender\":{\"type\":\"string\",\"description\":\"รหัสเพศที่บันทึกไว้ในโปรไฟล์สาธารณะ。\"},\"mbrank\":{\"type\":\"integer\",\"description\":\"ระดับสมาชิกที่ Weibo รายงาน。\"},\"urank\":{\"type\":\"integer\",\"description\":\"ระดับบัญชีที่ Weibo รายงาน。\"}}},\"reposts_count\":{\"type\":\"integer\",\"description\":\"จำนวนการโพสต์ซ้ำที่ Weibo รายงาน。\"},\"comments_count\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นที่ Weibo รายงาน。\"},\"attitudes_count\":{\"type\":\"integer\",\"description\":\"จำนวนการแสดงปฏิกิริยาที่ Weibo รายงาน。\"},\"favorites_count\":{\"type\":\"integer\",\"description\":\"จำนวนการกดไลค์ที่ Weibo รายงาน。\"},\"pending_approval_count\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นที่แสดงในสถานะรอการอนุมัติ。\"},\"multi_attitude\":{\"type\":\"array\",\"description\":\"การแยกข้อมูลการแสดงความคิดเห็นตามประเภท เมื่อมีการให้ข้อมูล.\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลจำนวนการแสดงความคิดเห็นสำหรับประเภทหนึ่ง.\",\"properties\":{\"type\":{\"type\":\"integer\",\"description\":\"รหัสตัวเลขสำหรับประเภทการแสดงความคิดเห็น.\"},\"count\":{\"type\":\"integer\",\"description\":\"จำนวนการแสดงความคิดเห็นประเภทนั้น.\"}}}},\"most_attitude_type\":{\"type\":\"integer\",\"description\":\"ประเภทตัวเลขของการแสดงความคิดเห็นที่พบบ่อยที่สุดที่ Weibo รายงาน.\"},\"comment_manage_info\":{\"type\":\"object\",\"description\":\"การตั้งค่าความคิดเห็นสำหรับโพสต์นี้。\",\"properties\":{\"comment_permission_type\":{\"type\":\"integer\",\"description\":\"การตั้งค่าสิทธิ์ในการแสดงความคิดเห็นเป็นตัวเลข。\"},\"approval_comment_type\":{\"type\":\"integer\",\"description\":\"การตั้งค่าการอนุมัติความคิดเห็นเป็นตัวเลข。\"},\"comment_sort_type\":{\"type\":\"integer\",\"description\":\"การตั้งค่าการจัดลำดับความคิดเห็นเป็นตัวเลข。\"},\"comment_anon_type\":{\"type\":\"integer\",\"description\":\"การตั้งค่าการแสดงความคิดเห็นแบบไม่ระบุตัวตนเป็นตัวเลข。\"}}},\"forbid_bullet_screens\":{\"type\":\"boolean\",\"description\":\"ว่าคำแสดงความคิดเห็นแบบบัตรถูกตั้งเป็นไม่สามารถใช้งานได้หรือไม่.\"},\"pic_num\":{\"type\":\"integer\",\"description\":\"จำนวนรูปภาพที่บันทึกไว้สำหรับโพสต์。\"},\"pic_ids\":{\"type\":\"array\",\"description\":\"รหัสของรูปภาพที่แนบมาสำหรับโพสต์。รายการอาจว่างเปล่า。\",\"items\":{\"type\":\"string\",\"description\":\"ID ของรูปภาพ Weibo.\"}},\"thumbnail_pic\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพแรกในขนาดขนาดเล็ก เมื่อมีการให้ข้อมูล.\"},\"bmiddle_pic\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพขนาดกลางแรก เมื่อมีการระบุ\"},\"original_pic\":{\"type\":\"string\",\"description\":\"URL ในฟิลด์รูปภาพต้นฉบับของ Weibo เมื่อมีการระบุ\"},\"pics\":{\"type\":\"array\",\"description\":\"ข้อมูลเกี่ยวกับรูปภาพที่แนบมา เมื่อ Weibo แสดงรูปภาพเหล่านั้น\",\"items\":{\"type\":\"object\",\"description\":\"รูปภาพที่แนบมาพร้อมกับโพสต์\",\"properties\":{\"pid\":{\"type\":\"string\",\"description\":\"ID ของรูปภาพ Weibo.\"},\"size\":{\"type\":\"string\",\"description\":\"ป้ายขนาดสำหรับการแสดงรูปภาพนี้\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของการแสดงรูปภาพนี้\"},\"geo\":{\"type\":\"object\",\"description\":\"ขนาดและสัญลักษณ์การตัดรูปภาพ\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของรูปภาพในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของรูปภาพในพิกเซล\"},\"croped\":{\"type\":\"boolean\",\"description\":\"Weibo จะระบุรูปภาพนี้ว่าเป็นรูปภาพที่ถูกตัดหรือไม่\"}}},\"large\":{\"type\":\"object\",\"description\":\"การแสดงรูปภาพขนาดใหญ่ เมื่อมีการระบุ\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของการแสดงรูปภาพขนาดใหญ่\"},\"size\":{\"type\":\"string\",\"description\":\"ป้ายขนาดสำหรับการแสดงรูปภาพนี้\"},\"geo\":{\"type\":\"object\",\"description\":\"ขนาดและสัญลักษณ์การตัดรูปภาพ\",\"properties\":{\"width\":{\"type\":\"string\",\"description\":\"ความกว้างของรูปภาพในพิกเซล แสดงเป็นข้อความ.\"},\"height\":{\"type\":\"string\",\"description\":\"ความสูงของรูปภาพในพิกเซล แสดงเป็นข้อความ.\"},\"croped\":{\"type\":\"boolean\",\"description\":\"Weibo จะระบุรูปภาพนี้ว่าเป็นรูปภาพที่ถูกตัดหรือไม่\"}}}}}}}},\"pic_focus_point\":{\"type\":\"array\",\"description\":\"ข้อมูลเกี่ยวกับพื้นที่โฟกัสของรูปภาพ เมื่อมีการระบุ\",\"items\":{\"type\":\"object\",\"description\":\"พื้นที่โฟกัสที่เชื่อมโยงกับรูปภาพหนึ่ง\",\"properties\":{\"pic_id\":{\"type\":\"string\",\"description\":\"ID ของรูปภาพ Weibo.\"},\"focus_point\":{\"type\":\"object\",\"description\":\"พิกัดและขนาดของพื้นที่โฟกัสที่ Weibo ระบุ\",\"properties\":{\"left\":{\"type\":\"integer\",\"description\":\"พิกัดด้านซ้ายของพื้นที่โฟกัส\"},\"top\":{\"type\":\"integer\",\"description\":\"พิกัดด้านบนของพื้นที่โฟกัส\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของพื้นที่โฟกัส\"},\"height\":{\"type\":\"number\",\"description\":\"ความสูงของพื้นที่โฟกัส\"}}}}}},\"page_info\":{\"type\":\"object\",\"description\":\"คาร์ดเนื้อหาที่แนบมา เช่น หัวข้อหรือวิดีโอแท้ หากมีให้。\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"ประเภทคาร์ดของ Weibo。\"},\"object_type\":{\"type\":\"integer\",\"description\":\"ประเภทวัตถุเนื้อหาที่ Weibo บันทึกไว้เป็นตัวเลข。\"},\"object_id\":{\"type\":\"string\",\"description\":\"ID ของวัตถุเนื้อหา Weibo ที่เกี่ยวข้องกับคาร์ด。\"},\"page_title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่แสดงสำหรับคาร์ดเนื้อหา。\"},\"title\":{\"type\":\"string\",\"description\":\"ช่องเรื่องที่ส่งกลับมาพร้อมกับคาร์ดเนื้อหา。อาจว่างเปล่า。\"},\"content1\":{\"type\":\"string\",\"description\":\"บรรทัดข้อความแรกที่ส่งกลับมาสำหรับคาร์ดเนื้อหา。\"},\"content2\":{\"type\":\"string\",\"description\":\"บรรทัดข้อความที่สองที่ส่งกลับมาสำหรับคาร์ดเนื้อหา。\"},\"page_pic\":{\"type\":\"object\",\"description\":\"ข้อมูลภาพสำหรับคาร์ดเนื้อหา。\",\"properties\":{\"pid\":{\"type\":\"string\",\"description\":\"ID ของรูปภาพ Weibo.\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพในหน้าเนื้อหา.\"},\"width\":{\"type\":\"string\",\"description\":\"ความกว้างของรูปภาพในพิกเซล แสดงเป็นข้อความ.\"},\"height\":{\"type\":\"string\",\"description\":\"ความสูงของรูปภาพในพิกเซล แสดงเป็นข้อความ.\"}}},\"video_orientation\":{\"type\":\"string\",\"description\":\"คำอธิบายทิศทางของวิดีโอที่ให้มาจาก Weibo.\"},\"play_count\":{\"type\":\"string\",\"description\":\"จำนวนการเล่นวิดีโอในรูปแบบข้อความ แสดงเป็นข้อความที่สามารถย่อได้.\"},\"media_info\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าในการเล่นวิดีโอแบบธรรมชาติ เมื่อมีการให้ข้อมูล.\",\"properties\":{\"duration\":{\"type\":\"number\",\"description\":\"ความยาวของวิดีโอที่รายงานโดยข้อมูลเมตาดาต้าในการเล่น.\"},\"stream_url\":{\"type\":\"string\",\"description\":\"URL ของสตรีมวิดีโอที่ Weibo ส่งกลับมา.\"},\"stream_url_hd\":{\"type\":\"string\",\"description\":\"URL ของสตรีมวิดีโอความละเอียดสูงที่ Weibo ส่งกลับมา.\"}}},\"urls\":{\"type\":\"object\",\"description\":\"URL ของวิดีโอที่มีอยู่ตามรูปแบบที่กำหนด.\",\"properties\":{\"mp4_hd_mp4\":{\"type\":\"string\",\"description\":\"URL ของ MP4 ความละเอียดสูง เมื่อมีการให้ข้อมูล.\"},\"mp4_ld_mp4\":{\"type\":\"string\",\"description\":\"URL ของ MP4 ความละเอียดต่ำ เมื่อมีการให้ข้อมูล.\"}}}}}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"พารามิเตอร์หรือเนื้อหาของคำขอที่ไม่ถูกต้อง\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"การอนุญาตถูกปฏิเสธ\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"อัตราการขอหรือจำนวนคำสั่งที่จำกัดในแต่ละวันถูกเกิน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"ความผิดพลาดของเซิร์ฟเวอร์ภายใน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"บริการไม่สามารถใช้งานได้ในขณะนี้\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/weibo/get-weibo-detail/v1\"")' />

<p>ดึงข้อมูลรายละเอียดของโพสต์ Weibo ที่ระบุด้วย ID โพสต์ ใช้เพื่อค้นหาโพสต์ที่รู้จักเพื่อการตรวจสอบเนื้อหา การจัดเก็บ หรือการวิเคราะห์การมีส่วนร่วมที่เกี่ยวข้อง</p>

## พารามิเตอร์

<div class="api-doc-table api-doc-table--params">

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นสำหรับเข้าถึง API |
| <code>id</code> | query | <code>string</code> | ใช่ | - | ID ของโพสต์ Weibo. |

</div>

## ตัวอย่างโค้ด

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/weibo/get-weibo-detail/v1?token=YOUR_API_KEY&id=VALUE'
```

```text [🤖 คำแนะนำสำหรับ AI]
ฉันต้องการใช้ API "รายละเอียดโพสต์ (V1)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/weibo/get-weibo-detail/v1?token=YOUR_API_KEY&id=VALUE
เอนด์พอยต์ API: BASE_URL + /api/weibo/get-weibo-detail/v1?token=YOUR_API_KEY&id=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/weibo/post-details-v1-th.json

พารามิเตอร์:
- token (query): โทเค็นสำหรับเข้าถึง API (จำเป็น)
- id (query): ID ของโพสต์ Weibo. (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ 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 [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # ให้โดยเซิร์ฟเวอร์ OpenAPI

url = BASE_URL + "/api/weibo/get-weibo-detail/v1?token=YOUR_API_KEY&id=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 [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
const url = BASE_URL + "/api/weibo/get-weibo-detail/v1?token=YOUR_API_KEY&id=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 [☕ 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/weibo/get-weibo-detail/v1?token=YOUR_API_KEY&id=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 [🐹 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/weibo/get-weibo-detail/v1?token=YOUR_API_KEY&id=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]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$url = $BASE_URL . '/api/weibo/get-weibo-detail/v1?token=YOUR_API_KEY&id=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;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/weibo/post-details-v1-th.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[คำนิยาม OpenAPI (JSON)]</a>
</div>

## ฟิลด์ที่ได้รับการตอบกลับ

ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| เส้นทางฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
| --- | --- | --- |
| <code>data</code> | <code>object &#124; null</code> | รายละเอียดโพสต์ของ Weibo. ค่าอาจเป็น null หากโพสต์ไม่สามารถเข้าถึงได้. |
| <code>data.canonical</code> | <code>string</code> | ไอเทมลิงก์มาตรฐานที่ส่งมาสำหรับโพสต์ ซึ่งถูกส่งกลับมาในรูปแบบข้อความ HTML |
| <code>data.status</code> | <code>object</code> | โพสต์ของ Weibo ที่ถูกขอ. |
| <code>data.status.retweeted_status</code> | <code>object</code> | โพสต์ต้นฉบับที่ถูกรวมเข้ากับโพสต์ใหม่, หากมี. ข้อมูลผู้เขียนอาจเป็น null. |
| <code>data.status.retweeted_status.id</code> | <code>string</code> | ตัวระบุโพสต์ของ Weibo ในรูปแบบสตริง. |
| <code>data.status.retweeted_status.mid</code> | <code>string</code> | ID ข้อความของ Weibo ในรูปแบบสตริง. |
| <code>data.status.retweeted_status.bid</code> | <code>string</code> | ชื่อตัวระบุสั้นๆ สำหรับโพสต์ของ Weibo. |
| <code>data.status.retweeted_status.created_at</code> | <code>string</code> | เวลาโพสต์ตามรูปแบบเวลาของ Weibo. |
| <code>data.status.retweeted_status.text</code> | <code>string</code> | เนื้อหาโพสต์ที่ Weibo ส่งกลับมา ซึ่งอาจมีการแทรกข้อความ HTML |
| <code>data.status.retweeted_status.textLength</code> | <code>integer</code> | ความยาวของข้อความโพสต์ตามที่ Weibo รายงาน. |
| <code>data.status.retweeted_status.source</code> | <code>string</code> | ป้ายกำกับของโพสต์ หากมี |
| <code>data.status.retweeted_status.isLongText</code> | <code>boolean</code> | ว่า Weibo จะจัดประเภทโพสต์นี้เป็นข้อความยาวหรือไม่ |
| <code>data.status.retweeted_status.is_paid</code> | <code>boolean</code> | ว่า Weibo จะจัดประเภทโพสต์นี้เป็นเนื้อหาจ่ายเงินหรือไม่ |
| <code>data.status.retweeted_status.ad_marked</code> | <code>boolean</code> | ว่า Weibo จะจัดประเภทโพสต์นี้เป็นโฆษณาหรือไม่ |
| <code>data.status.retweeted_status.can_edit</code> | <code>boolean</code> | ว่าสามารถแก้ไขโพสต์ในบริบทของการตอบกลับได้หรือไม่ |
| <code>data.status.retweeted_status.favorited</code> | <code>boolean</code> | โพสต์นี้ถูกจัดประเภทเป็นโพสต์ที่ชื่นชอบในบริบทของการตอบกลับหรือไม่ |
| <code>data.status.retweeted_status.visible</code> | <code>object</code> | การตั้งค่าการมองเห็นที่ส่งกลับมาพร้อมกับโพสต์นี้ |
| <code>data.status.retweeted_status.visible.type</code> | <code>integer</code> | รหัสการมองเห็นเชิงตัวเลขที่ Weibo รายงาน |
| <code>data.status.retweeted_status.visible.list_id</code> | <code>integer</code> | รหัส ID ของรายการการมองเห็นที่เกี่ยวข้อง |
| <code>data.status.retweeted_status.visible.list_idstr</code> | <code>string</code> | ID ของรายการการมองเห็นที่เกี่ยวข้อง ซึ่งแสดงเป็นข้อความ |
| <code>data.status.retweeted_status.user</code> | <code>object &#124; null</code> | ข้อมูลผู้เขียนที่เปิดเผยต่อสาธารณะที่แนบมาพร้อมกับโพสต์ |
| <code>data.status.retweeted_status.user.id</code> | <code>integer</code> | รหัส ID ของผู้ใช้ Weibo |
| <code>data.status.retweeted_status.user.screen_name</code> | <code>string</code> | ชื่อบัญชี Weibo ที่แสดง |
| <code>data.status.retweeted_status.user.description</code> | <code>string</code> | คำอธิบายโปรไฟล์สาธารณะ |
| <code>data.status.retweeted_status.user.profile_image_url</code> | <code>string</code> | URL ของรูปภาพโปรไฟล์ |
| <code>data.status.retweeted_status.user.avatar_hd</code> | <code>string</code> | URL ของอวตารความละเอียดสูง |
| <code>data.status.retweeted_status.user.profile_url</code> | <code>string</code> | ลิงก์โปรไฟล์ที่ Weibo ส่งกลับมา |
| <code>data.status.retweeted_status.user.cover_image_phone</code> | <code>string</code> | URL ของภาพปกโปรไฟล์สำหรับการดูบนมือถือ |
| <code>data.status.retweeted_status.user.verified</code> | <code>boolean</code> | Weibo จะจัดประเภทบัญชีนี้เป็นบัญชีที่ได้รับการยืนยันหรือไม่ |
| <code>data.status.retweeted_status.user.verified_type</code> | <code>integer</code> | ประเภทการยืนยันบัญชีที่ Weibo รายงาน |
| <code>data.status.retweeted_status.user.verified_type_ext</code> | <code>integer</code> | การจำแนกประเภทการยืนยันบัญชีเพิ่มเติม |
| <code>data.status.retweeted_status.user.verified_reason</code> | <code>string</code> | คำอธิบายการยืนยันที่แสดงสำหรับบัญชี |
| <code>data.status.retweeted_status.user.statuses_count</code> | <code>integer</code> | จำนวนโพสต์ที่บัญชีนี้มี |
| <code>data.status.retweeted_status.user.follow_count</code> | <code>integer</code> | จำนวนบัญชีที่บัญชีนี้ติดตาม ตามที่ Weibo รายงาน |
| <code>data.status.retweeted_status.user.followers_count</code> | <code>string</code> | จำนวนผู้ติดตามที่ส่งกลับมาในรูปแบบข้อความ ซึ่งอาจมีรูปแบบการแสดงที่ย่อ |
| <code>data.status.retweeted_status.user.followers_count_str</code> | <code>string</code> | ข้อความจำนวนผู้ติดตามที่แสดงเพื่อการแสดง |
| <code>data.status.retweeted_status.user.following</code> | <code>boolean</code> | บัญชีที่กำลังดูนี้ถูกจัดประเภทเป็นบัญชีที่ติดตามผู้เขียนนี้หรือไม่ |
| <code>data.status.retweeted_status.user.follow_me</code> | <code>boolean</code> | ว่าผู้เขียนมีการระบุว่าเป็นผู้ใช้งานที่สามารถดูเนื้อหาได้หรือไม่。 |
| <code>data.status.retweeted_status.user.gender</code> | <code>string</code> | รหัสเพศที่บันทึกไว้ในโปรไฟล์สาธารณะ。 |
| <code>data.status.retweeted_status.user.mbrank</code> | <code>integer</code> | ระดับสมาชิกที่ Weibo รายงาน。 |
| <code>data.status.retweeted_status.user.urank</code> | <code>integer</code> | ระดับบัญชีที่ Weibo รายงาน。 |
| <code>data.status.retweeted_status.reposts_count</code> | <code>integer</code> | จำนวนการโพสต์ซ้ำที่ Weibo รายงาน。 |
| <code>data.status.retweeted_status.comments_count</code> | <code>integer</code> | จำนวนความคิดเห็นที่ Weibo รายงาน。 |
| <code>data.status.retweeted_status.attitudes_count</code> | <code>integer</code> | จำนวนการแสดงปฏิกิริยาที่ Weibo รายงาน。 |
| <code>data.status.retweeted_status.favorites_count</code> | <code>integer</code> | จำนวนการกดไลค์ที่ Weibo รายงาน。 |
| <code>data.status.retweeted_status.pending_approval_count</code> | <code>integer</code> | จำนวนความคิดเห็นที่แสดงในสถานะรอการอนุมัติ。 |
| <code>data.status.retweeted_status.comment_manage_info</code> | <code>object</code> | การตั้งค่าความคิดเห็นสำหรับโพสต์นี้。 |
| <code>data.status.retweeted_status.comment_manage_info.comment_permission_type</code> | <code>integer</code> | การตั้งค่าสิทธิ์ในการแสดงความคิดเห็นเป็นตัวเลข。 |
| <code>data.status.retweeted_status.comment_manage_info.approval_comment_type</code> | <code>integer</code> | การตั้งค่าการอนุมัติความคิดเห็นเป็นตัวเลข。 |
| <code>data.status.retweeted_status.comment_manage_info.comment_sort_type</code> | <code>integer</code> | การตั้งค่าการจัดลำดับความคิดเห็นเป็นตัวเลข。 |
| <code>data.status.retweeted_status.comment_manage_info.comment_anon_type</code> | <code>integer</code> | การตั้งค่าการแสดงความคิดเห็นแบบไม่ระบุตัวตนเป็นตัวเลข。 |
| <code>data.status.retweeted_status.pic_num</code> | <code>integer</code> | จำนวนรูปภาพที่บันทึกไว้สำหรับโพสต์。 |
| <code>data.status.retweeted_status.pic_ids</code> | <code>array</code> | รหัสของรูปภาพที่แนบมาสำหรับโพสต์。รายการอาจว่างเปล่า。 |
| <code>data.status.retweeted_status.page_info</code> | <code>object</code> | คาร์ดเนื้อหาที่แนบมา เช่น หัวข้อหรือวิดีโอแท้ หากมีให้。 |
| <code>data.status.retweeted_status.page_info.type</code> | <code>string</code> | ประเภทคาร์ดของ Weibo。 |
| <code>data.status.retweeted_status.page_info.object_type</code> | <code>integer</code> | ประเภทวัตถุเนื้อหาที่ Weibo บันทึกไว้เป็นตัวเลข。 |
| <code>data.status.retweeted_status.page_info.object_id</code> | <code>string</code> | ID ของวัตถุเนื้อหา Weibo ที่เกี่ยวข้องกับคาร์ด。 |
| <code>data.status.retweeted_status.page_info.page_title</code> | <code>string</code> | ชื่อเรื่องที่แสดงสำหรับคาร์ดเนื้อหา。 |
| <code>data.status.retweeted_status.page_info.title</code> | <code>string</code> | ช่องเรื่องที่ส่งกลับมาพร้อมกับคาร์ดเนื้อหา。อาจว่างเปล่า。 |
| <code>data.status.retweeted_status.page_info.content1</code> | <code>string</code> | บรรทัดข้อความแรกที่ส่งกลับมาสำหรับคาร์ดเนื้อหา。 |
| <code>data.status.retweeted_status.page_info.content2</code> | <code>string</code> | บรรทัดข้อความที่สองที่ส่งกลับมาสำหรับคาร์ดเนื้อหา。 |
| <code>data.status.retweeted_status.page_info.page_pic</code> | <code>object</code> | ข้อมูลภาพสำหรับคาร์ดเนื้อหา。 |
| <code>data.status.retweeted_status.page_info.page_pic.pid</code> | <code>string</code> | ID ของรูปภาพ Weibo. |
| <code>data.status.retweeted_status.page_info.page_pic.url</code> | <code>string</code> | URL ของรูปภาพในหน้าเนื้อหา. |
| <code>data.status.retweeted_status.page_info.page_pic.width</code> | <code>string</code> | ความกว้างของรูปภาพในพิกเซล แสดงเป็นข้อความ. |
| <code>data.status.retweeted_status.page_info.page_pic.height</code> | <code>string</code> | ความสูงของรูปภาพในพิกเซล แสดงเป็นข้อความ. |
| <code>data.status.retweeted_status.page_info.video_orientation</code> | <code>string</code> | คำอธิบายทิศทางของวิดีโอที่ให้มาจาก Weibo. |
| <code>data.status.retweeted_status.page_info.play_count</code> | <code>string</code> | จำนวนการเล่นวิดีโอในรูปแบบข้อความ แสดงเป็นข้อความที่สามารถย่อได้. |
| <code>data.status.retweeted_status.page_info.media_info</code> | <code>object</code> | ข้อมูลเมตาดาต้าในการเล่นวิดีโอแบบธรรมชาติ เมื่อมีการให้ข้อมูล. |
| <code>data.status.retweeted_status.page_info.media_info.duration</code> | <code>number</code> | ความยาวของวิดีโอที่รายงานโดยข้อมูลเมตาดาต้าในการเล่น. |
| <code>data.status.retweeted_status.page_info.media_info.stream_url</code> | <code>string</code> | URL ของสตรีมวิดีโอที่ Weibo ส่งกลับมา. |
| <code>data.status.retweeted_status.page_info.media_info.stream_url_hd</code> | <code>string</code> | URL ของสตรีมวิดีโอความละเอียดสูงที่ Weibo ส่งกลับมา. |
| <code>data.status.retweeted_status.page_info.urls</code> | <code>object</code> | URL ของวิดีโอที่มีอยู่ตามรูปแบบที่กำหนด. |
| <code>data.status.retweeted_status.page_info.urls.mp4_hd_mp4</code> | <code>string</code> | URL ของ MP4 ความละเอียดสูง เมื่อมีการให้ข้อมูล. |
| <code>data.status.retweeted_status.page_info.urls.mp4_ld_mp4</code> | <code>string</code> | URL ของ MP4 ความละเอียดต่ำ เมื่อมีการให้ข้อมูล. |
| <code>data.status.retweeted_status.title</code> | <code>object</code> | ข้อมูลเกี่ยวกับหัวข้อที่แนบมาด้วยกับโพสต์นี้. |
| <code>data.status.retweeted_status.title.text</code> | <code>string</code> | ข้อความหัวข้อที่แสดง. |
| <code>data.status.id</code> | <code>string</code> | ตัวระบุโพสต์ของ Weibo ในรูปแบบสตริง. |
| <code>data.status.mid</code> | <code>string</code> | ID ข้อความของ Weibo ในรูปแบบสตริง. |
| <code>data.status.bid</code> | <code>string</code> | ชื่อตัวระบุสั้นๆ สำหรับโพสต์ของ Weibo. |
| <code>data.status.created_at</code> | <code>string</code> | เวลาโพสต์ตามรูปแบบเวลาของ Weibo. |
| <code>data.status.text</code> | <code>string</code> | เนื้อหาโพสต์ที่ Weibo ส่งกลับมา ซึ่งอาจมีการแทรกข้อความ HTML |
| <code>data.status.raw_text</code> | <code>string</code> | ข้อความเนื้อหาโพสต์ เมื่อ Weibo ให้ข้อมูลแยกต่างหาก. |
| <code>data.status.textLength</code> | <code>integer</code> | ความยาวของข้อความโพสต์ตามที่ Weibo รายงาน. |
| <code>data.status.source</code> | <code>string</code> | ป้ายกำกับของโพสต์ หากมี |
| <code>data.status.status_title</code> | <code>string</code> | ข้อความหัวข้อที่แสดงสำหรับโพสต์. |
| <code>data.status.isLongText</code> | <code>boolean</code> | ว่า Weibo จะจัดประเภทโพสต์นี้เป็นข้อความยาวหรือไม่ |
| <code>data.status.is_paid</code> | <code>boolean</code> | ว่า Weibo จะจัดประเภทโพสต์นี้เป็นเนื้อหาจ่ายเงินหรือไม่ |
| <code>data.status.ad_marked</code> | <code>boolean</code> | ว่า Weibo จะจัดประเภทโพสต์นี้เป็นโฆษณาหรือไม่ |
| <code>data.status.region_name</code> | <code>string</code> | คำอธิบายภูมิภาคที่แสดงสำหรับโพสต์. |
| <code>data.status.can_edit</code> | <code>boolean</code> | ว่าสามารถแก้ไขโพสต์ในบริบทของการตอบกลับได้หรือไม่ |
| <code>data.status.favorited</code> | <code>boolean</code> | โพสต์นี้ถูกจัดประเภทเป็นโพสต์ที่ชื่นชอบในบริบทของการตอบกลับหรือไม่ |
| <code>data.status.visible</code> | <code>object</code> | การตั้งค่าการมองเห็นที่ส่งกลับมาพร้อมกับโพสต์นี้ |
| <code>data.status.visible.type</code> | <code>integer</code> | รหัสการมองเห็นเชิงตัวเลขที่ Weibo รายงาน |
| <code>data.status.visible.list_id</code> | <code>integer</code> | รหัส ID ของรายการการมองเห็นที่เกี่ยวข้อง |
| <code>data.status.user</code> | <code>object</code> | ข้อมูลผู้เขียนที่เปิดเผยต่อสาธารณะที่แนบมาพร้อมกับโพสต์ |
| <code>data.status.user.id</code> | <code>integer</code> | รหัส ID ของผู้ใช้ Weibo |
| <code>data.status.user.screen_name</code> | <code>string</code> | ชื่อบัญชี Weibo ที่แสดง |
| <code>data.status.user.description</code> | <code>string</code> | คำอธิบายโปรไฟล์สาธารณะ |
| <code>data.status.user.profile_image_url</code> | <code>string</code> | URL ของรูปภาพโปรไฟล์ |
| <code>data.status.user.avatar_hd</code> | <code>string</code> | URL ของอวตารความละเอียดสูง |
| <code>data.status.user.profile_url</code> | <code>string</code> | ลิงก์โปรไฟล์ที่ Weibo ส่งกลับมา |
| <code>data.status.user.cover_image_phone</code> | <code>string</code> | URL ของภาพปกโปรไฟล์สำหรับการดูบนมือถือ |
| <code>data.status.user.verified</code> | <code>boolean</code> | Weibo จะจัดประเภทบัญชีนี้เป็นบัญชีที่ได้รับการยืนยันหรือไม่ |
| <code>data.status.user.verified_type</code> | <code>integer</code> | ประเภทการยืนยันบัญชีที่ Weibo รายงาน |
| <code>data.status.user.verified_type_ext</code> | <code>integer</code> | การจำแนกประเภทการยืนยันบัญชีเพิ่มเติม |
| <code>data.status.user.verified_reason</code> | <code>string</code> | คำอธิบายการยืนยันที่แสดงสำหรับบัญชี |
| <code>data.status.user.statuses_count</code> | <code>integer</code> | จำนวนโพสต์ที่บัญชีนี้มี |
| <code>data.status.user.follow_count</code> | <code>integer</code> | จำนวนบัญชีที่บัญชีนี้ติดตาม ตามที่ Weibo รายงาน |
| <code>data.status.user.followers_count</code> | <code>string</code> | จำนวนผู้ติดตามที่ส่งกลับมาในรูปแบบข้อความ ซึ่งอาจมีรูปแบบการแสดงที่ย่อ |
| <code>data.status.user.followers_count_str</code> | <code>string</code> | ข้อความจำนวนผู้ติดตามที่แสดงเพื่อการแสดง |
| <code>data.status.user.following</code> | <code>boolean</code> | บัญชีที่กำลังดูนี้ถูกจัดประเภทเป็นบัญชีที่ติดตามผู้เขียนนี้หรือไม่ |
| <code>data.status.user.follow_me</code> | <code>boolean</code> | ว่าผู้เขียนมีการระบุว่าเป็นผู้ใช้งานที่สามารถดูเนื้อหาได้หรือไม่。 |
| <code>data.status.user.gender</code> | <code>string</code> | รหัสเพศที่บันทึกไว้ในโปรไฟล์สาธารณะ。 |
| <code>data.status.user.mbrank</code> | <code>integer</code> | ระดับสมาชิกที่ Weibo รายงาน。 |
| <code>data.status.user.urank</code> | <code>integer</code> | ระดับบัญชีที่ Weibo รายงาน。 |
| <code>data.status.reposts_count</code> | <code>integer</code> | จำนวนการโพสต์ซ้ำที่ Weibo รายงาน。 |
| <code>data.status.comments_count</code> | <code>integer</code> | จำนวนความคิดเห็นที่ Weibo รายงาน。 |
| <code>data.status.attitudes_count</code> | <code>integer</code> | จำนวนการแสดงปฏิกิริยาที่ Weibo รายงาน。 |
| <code>data.status.favorites_count</code> | <code>integer</code> | จำนวนการกดไลค์ที่ Weibo รายงาน。 |
| <code>data.status.pending_approval_count</code> | <code>integer</code> | จำนวนความคิดเห็นที่แสดงในสถานะรอการอนุมัติ。 |
| <code>data.status.multi_attitude</code> | <code>array</code> | การแยกข้อมูลการแสดงความคิดเห็นตามประเภท เมื่อมีการให้ข้อมูล. |
| <code>data.status.multi_attitude[]</code> | <code>object</code> | ข้อมูลจำนวนการแสดงความคิดเห็นสำหรับประเภทหนึ่ง. |
| <code>data.status.multi_attitude[].type</code> | <code>integer</code> | รหัสตัวเลขสำหรับประเภทการแสดงความคิดเห็น. |
| <code>data.status.multi_attitude[].count</code> | <code>integer</code> | จำนวนการแสดงความคิดเห็นประเภทนั้น. |
| <code>data.status.most_attitude_type</code> | <code>integer</code> | ประเภทตัวเลขของการแสดงความคิดเห็นที่พบบ่อยที่สุดที่ Weibo รายงาน. |
| <code>data.status.comment_manage_info</code> | <code>object</code> | การตั้งค่าความคิดเห็นสำหรับโพสต์นี้。 |
| <code>data.status.comment_manage_info.comment_permission_type</code> | <code>integer</code> | การตั้งค่าสิทธิ์ในการแสดงความคิดเห็นเป็นตัวเลข。 |
| <code>data.status.comment_manage_info.approval_comment_type</code> | <code>integer</code> | การตั้งค่าการอนุมัติความคิดเห็นเป็นตัวเลข。 |
| <code>data.status.comment_manage_info.comment_sort_type</code> | <code>integer</code> | การตั้งค่าการจัดลำดับความคิดเห็นเป็นตัวเลข。 |
| <code>data.status.comment_manage_info.comment_anon_type</code> | <code>integer</code> | การตั้งค่าการแสดงความคิดเห็นแบบไม่ระบุตัวตนเป็นตัวเลข。 |
| <code>data.status.forbid_bullet_screens</code> | <code>boolean</code> | ว่าคำแสดงความคิดเห็นแบบบัตรถูกตั้งเป็นไม่สามารถใช้งานได้หรือไม่. |
| <code>data.status.pic_num</code> | <code>integer</code> | จำนวนรูปภาพที่บันทึกไว้สำหรับโพสต์。 |
| <code>data.status.pic_ids</code> | <code>array</code> | รหัสของรูปภาพที่แนบมาสำหรับโพสต์。รายการอาจว่างเปล่า。 |
| <code>data.status.pic_ids[]</code> | <code>string</code> | ID ของรูปภาพ Weibo. |
| <code>data.status.thumbnail_pic</code> | <code>string</code> | URL ของรูปภาพแรกในขนาดขนาดเล็ก เมื่อมีการให้ข้อมูล. |
| <code>data.status.bmiddle_pic</code> | <code>string</code> | URL ของรูปภาพขนาดกลางแรก เมื่อมีการระบุ |
| <code>data.status.original_pic</code> | <code>string</code> | URL ในฟิลด์รูปภาพต้นฉบับของ Weibo เมื่อมีการระบุ |
| <code>data.status.pics</code> | <code>array</code> | ข้อมูลเกี่ยวกับรูปภาพที่แนบมา เมื่อ Weibo แสดงรูปภาพเหล่านั้น |
| <code>data.status.pics[]</code> | <code>object</code> | รูปภาพที่แนบมาพร้อมกับโพสต์ |
| <code>data.status.pics[].pid</code> | <code>string</code> | ID ของรูปภาพ Weibo. |
| <code>data.status.pics[].size</code> | <code>string</code> | ป้ายขนาดสำหรับการแสดงรูปภาพนี้ |
| <code>data.status.pics[].url</code> | <code>string</code> | URL ของการแสดงรูปภาพนี้ |
| <code>data.status.pics[].geo</code> | <code>object</code> | ขนาดและสัญลักษณ์การตัดรูปภาพ |
| <code>data.status.pics[].geo.width</code> | <code>integer</code> | ความกว้างของรูปภาพในพิกเซล |
| <code>data.status.pics[].geo.height</code> | <code>integer</code> | ความสูงของรูปภาพในพิกเซล |
| <code>data.status.pics[].geo.croped</code> | <code>boolean</code> | Weibo จะระบุรูปภาพนี้ว่าเป็นรูปภาพที่ถูกตัดหรือไม่ |
| <code>data.status.pics[].large</code> | <code>object</code> | การแสดงรูปภาพขนาดใหญ่ เมื่อมีการระบุ |
| <code>data.status.pics[].large.url</code> | <code>string</code> | URL ของการแสดงรูปภาพขนาดใหญ่ |
| <code>data.status.pics[].large.size</code> | <code>string</code> | ป้ายขนาดสำหรับการแสดงรูปภาพนี้ |
| <code>data.status.pics[].large.geo</code> | <code>object</code> | ขนาดและสัญลักษณ์การตัดรูปภาพ |
| <code>data.status.pics[].large.geo.width</code> | <code>string</code> | ความกว้างของรูปภาพในพิกเซล แสดงเป็นข้อความ. |
| <code>data.status.pics[].large.geo.height</code> | <code>string</code> | ความสูงของรูปภาพในพิกเซล แสดงเป็นข้อความ. |
| <code>data.status.pics[].large.geo.croped</code> | <code>boolean</code> | Weibo จะระบุรูปภาพนี้ว่าเป็นรูปภาพที่ถูกตัดหรือไม่ |
| <code>data.status.pic_focus_point</code> | <code>array</code> | ข้อมูลเกี่ยวกับพื้นที่โฟกัสของรูปภาพ เมื่อมีการระบุ |
| <code>data.status.pic_focus_point[]</code> | <code>object</code> | พื้นที่โฟกัสที่เชื่อมโยงกับรูปภาพหนึ่ง |
| <code>data.status.pic_focus_point[].pic_id</code> | <code>string</code> | ID ของรูปภาพ Weibo. |
| <code>data.status.pic_focus_point[].focus_point</code> | <code>object</code> | พิกัดและขนาดของพื้นที่โฟกัสที่ Weibo ระบุ |
| <code>data.status.pic_focus_point[].focus_point.left</code> | <code>integer</code> | พิกัดด้านซ้ายของพื้นที่โฟกัส |
| <code>data.status.pic_focus_point[].focus_point.top</code> | <code>integer</code> | พิกัดด้านบนของพื้นที่โฟกัส |
| <code>data.status.pic_focus_point[].focus_point.width</code> | <code>integer</code> | ความกว้างของพื้นที่โฟกัส |
| <code>data.status.pic_focus_point[].focus_point.height</code> | <code>number</code> | ความสูงของพื้นที่โฟกัส |
| <code>data.status.page_info</code> | <code>object</code> | คาร์ดเนื้อหาที่แนบมา เช่น หัวข้อหรือวิดีโอแท้ หากมีให้。 |
| <code>data.status.page_info.type</code> | <code>string</code> | ประเภทคาร์ดของ Weibo。 |
| <code>data.status.page_info.object_type</code> | <code>integer</code> | ประเภทวัตถุเนื้อหาที่ Weibo บันทึกไว้เป็นตัวเลข。 |
| <code>data.status.page_info.object_id</code> | <code>string</code> | ID ของวัตถุเนื้อหา Weibo ที่เกี่ยวข้องกับคาร์ด。 |
| <code>data.status.page_info.page_title</code> | <code>string</code> | ชื่อเรื่องที่แสดงสำหรับคาร์ดเนื้อหา。 |
| <code>data.status.page_info.title</code> | <code>string</code> | ช่องเรื่องที่ส่งกลับมาพร้อมกับคาร์ดเนื้อหา。อาจว่างเปล่า。 |
| <code>data.status.page_info.content1</code> | <code>string</code> | บรรทัดข้อความแรกที่ส่งกลับมาสำหรับคาร์ดเนื้อหา。 |
| <code>data.status.page_info.content2</code> | <code>string</code> | บรรทัดข้อความที่สองที่ส่งกลับมาสำหรับคาร์ดเนื้อหา。 |
| <code>data.status.page_info.page_pic</code> | <code>object</code> | ข้อมูลภาพสำหรับคาร์ดเนื้อหา。 |
| <code>data.status.page_info.page_pic.pid</code> | <code>string</code> | ID ของรูปภาพ Weibo. |
| <code>data.status.page_info.page_pic.url</code> | <code>string</code> | URL ของรูปภาพในหน้าเนื้อหา. |
| <code>data.status.page_info.page_pic.width</code> | <code>string</code> | ความกว้างของรูปภาพในพิกเซล แสดงเป็นข้อความ. |
| <code>data.status.page_info.page_pic.height</code> | <code>string</code> | ความสูงของรูปภาพในพิกเซล แสดงเป็นข้อความ. |
| <code>data.status.page_info.video_orientation</code> | <code>string</code> | คำอธิบายทิศทางของวิดีโอที่ให้มาจาก Weibo. |
| <code>data.status.page_info.play_count</code> | <code>string</code> | จำนวนการเล่นวิดีโอในรูปแบบข้อความ แสดงเป็นข้อความที่สามารถย่อได้. |
| <code>data.status.page_info.media_info</code> | <code>object</code> | ข้อมูลเมตาดาต้าในการเล่นวิดีโอแบบธรรมชาติ เมื่อมีการให้ข้อมูล. |
| <code>data.status.page_info.media_info.duration</code> | <code>number</code> | ความยาวของวิดีโอที่รายงานโดยข้อมูลเมตาดาต้าในการเล่น. |
| <code>data.status.page_info.media_info.stream_url</code> | <code>string</code> | URL ของสตรีมวิดีโอที่ Weibo ส่งกลับมา. |
| <code>data.status.page_info.media_info.stream_url_hd</code> | <code>string</code> | URL ของสตรีมวิดีโอความละเอียดสูงที่ Weibo ส่งกลับมา. |
| <code>data.status.page_info.urls</code> | <code>object</code> | URL ของวิดีโอที่มีอยู่ตามรูปแบบที่กำหนด. |
| <code>data.status.page_info.urls.mp4_hd_mp4</code> | <code>string</code> | URL ของ MP4 ความละเอียดสูง เมื่อมีการให้ข้อมูล. |
| <code>data.status.page_info.urls.mp4_ld_mp4</code> | <code>string</code> | URL ของ MP4 ความละเอียดต่ำ เมื่อมีการให้ข้อมูล. |

</div>

## ตัวอย่างผลการตอบกลับ

<ApiExampleSection :api='JSON.parse("\"/api/weibo/get-weibo-detail/v1\"")' />

