본문으로 건너뛰기

웨이보 사용자가 게시한 글 API (V1) ​

GET
API 상태
정상 사용 가능 일부 사용 가능 대부분 사용 불가 데이터 없음
API 상태를 불러오는 중…

UID로 지정한 웨이보 사용자의 게시물을 가져옵니다. 페이지 번호를 사용하며, 첫 페이지 이후에는 sinceId 커서가 필수입니다. 계정의 게시 이력을 살펴보거나 게시물 피드를 이어서 조회할 수 있습니다.

요청 파라미터 ​

이름 위치 유형 필수 기본값 설명
token query string 예 - API 액세스 토큰입니다.
uid query string 예 - 웨이보 사용자 ID(UID)입니다.
page query integer 아니요 1 페이지 번호입니다. 1부터 시작합니다.
sinceId query string 아니요 - 페이지네이션 커서(since_id)입니다. page가 1보다 크면 필수입니다.

코드 예제 ​

bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/weibo/get-user-post/v1?token=YOUR_API_KEY&uid=VALUE'
text
JustOneAPI의 "사용자가 게시한 글 (V1)" API를 사용하고 싶습니다.
기본 URL: https://api.justoneapi.com.
API 경로: /api/weibo/get-user-post/v1?token=YOUR_API_KEY&uid=VALUE
API 주소: BASE_URL + /api/weibo/get-user-post/v1?token=YOUR_API_KEY&uid=VALUE
HTTP 메서드: GET
인증: URL에 "token" 쿼리 파라미터를 추가하세요.
OpenAPI 정의: https://docs.justoneapi.com/openapi/weibo/user-published-posts-v1-ko.json

요청 파라미터:
- token (query): API 액세스 토큰입니다. (필수)
- uid (query): 웨이보 사용자 ID(UID)입니다. (필수)
- page (query): 페이지 번호입니다. 1부터 시작합니다.
- sinceId (query): 페이지네이션 커서(since_id)입니다. page가 1보다 크면 필수입니다.

응답 형식: 실제 Content-Type에 따라 JSON 또는 텍스트를 안전하게 처리하세요.

응답 처리 및 오류 코드
1. 응답 본문의 "code" 필드에서 처리 결과를 확인하세요. 0은 성공을 뜻합니다.
2. 권장 요청 제한 시간은 120초입니다. 120초가 너무 길다면 최소 60초로 설정하세요. 일부 요청은 응답을 받기 전에 시간 초과될 수 있습니다.
3. API 결과 코드
   - 0: 성공
   - 100: 유효하지 않거나 비활성화된 토큰
   - 301: 데이터 수집에 실패했습니다. 다시 시도해 주세요.
   - 302: 호출 빈도 제한 초과
   - 303: 일일 호출 한도 초과
   - 400: 잘못된 파라미터
   - 500: 서버 내부 오류
   - 600: 호출 권한 없음
   - 601: 계정 잔액 부족
   - 602: API 토큰의 누적 예산 한도 초과
4. 601은 공유 계정 잔액이 부족하다는 뜻입니다. 602는 현재 API 토큰의 누적 예산 한도에 도달했다는 뜻입니다. 토큰 예산을 설정해도 공유 계정 잔액은 별도로 배정되지 않습니다.

제가 사용하는 프로그래밍 언어로 이 API를 호출하고 응답을 처리하는 스크립트를 작성해 주세요.
python
import requests

BASE_URL = "https://api.justoneapi.com"  # OpenAPI 서버 설정에서 제공

url = BASE_URL + "/api/weibo/get-user-post/v1?token=YOUR_API_KEY&uid=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/weibo/get-user-post/v1?token=YOUR_API_KEY&uid=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/weibo/get-user-post/v1?token=YOUR_API_KEY&uid=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/weibo/get-user-post/v1?token=YOUR_API_KEY&uid=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/weibo/get-user-post/v1?token=YOUR_API_KEY&uid=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)의 주요 필드입니다.

게시물 콘텐츠필드 19개

data.data.list[]

이 피드 페이지에서 반환된 게시물. 요청된 작성자의 게시물에만 해당하며, 각 항목의 user.idstr 또는 user.id의 텍스트 형태를 uid와 비교하세요.

필드 유형 설명
id integer Weibo 게시물 ID 숫자형.
idstr string 텍스트 형태로 표시된 Weibo 게시물 ID.
mid string 텍스트 형태로 표시된 Weibo 메시지 ID.
mblogid string Weibo 게시물의 짧은 알파벳 문자 ID.
created_at string Weibo의 원본 타임스탬프 형식으로 표시된 게시 시간.
text string 웨이보가 반환한 게시물 본문. HTML 마크업 포함 가능.
text_raw string 이 게시물에 제공된 원본 본문 텍스트 필드.
textLength integer Weibo가 보고한 게시물 텍스트 길이.
source string 게시물에 표시된 소스 라벨(사용 가능한 경우).
region_name string 게시물에 표시된 지역 라벨.
isLongText boolean Weibo가 이 게시물을 긴 형식 텍스트로 표시하는지 여부.
isTop integer 이 항목에 대한 숫자형 고정 게시물 플래그 반환.
isAd boolean | integer 광고 플래그가 부울 또는 숫자 값으로 반환되었습니다.
is_paid boolean Weibo가 이 게시물을 유료 콘텐츠로 표시하는지 여부.
can_edit boolean 응답 컨텍스트에서 편집이 가능한지 여부.
favorited boolean 응답 컨텍스트에서 게시물이 마음에 드는 것으로 표시되는지 여부.
visible object 이 게시물과 함께 반환된 가시성 설정.
visible.type integer 웨이보가 보고한 가시성 코드.
visible.list_id integer 관련 가시성 목록의 숫자형 ID.
정보 조회 상태필드 2개

data

Weibo 피드 응답. 상태만 포함하는 응답은 피드 데이터를 생략할 수 있습니다.

필드 유형 설명
ok integer Weibo 피드 상태. 피드 결과에는 1이, 상태 메시지에는 피드 데이터 없이 0이 붙습니다.
message string Weibo에서 반환된 상태 메시지.
피드 페이지 및 페이지 번호필드 7개

data.data

페이지 나누기 정보가 있는 Weibo 피드의 한 페이지, 사용 가능할 때.

필드 유형 설명
since_id string 이 피드 페이지에 대한 페이지 나누기 커서 반환. 다음 페이지를 요청할 때 sinceId로 그대로 전달.
total integer Weibo가 피드에 대해 보고한 총계. 현재 페이지의 항목 수는 목록 길이로 사용됩니다.
status_visible integer Weibo에서 보고된 숫자형 피드 가시성 코드.
bottom_tips_visible boolean 피드 하단에 표시할 팁의 여부.
bottom_tips_text string 피드 하단 팁에 대한 텍스트.
topicList array 피드 페이지와 함께 반환된 주제 목록. 비어 있을 수 있습니다.
list[] object 피드 페이지에서 반환된 하나의 게시물 항목.
게시물 작성자필드 12개

data.data.list[].user

항목에 첨부된 공개 작성자 정보.

필드 유형 설명
id integer 작성자의 Weibo 사용자 ID 숫자형.
idstr string 작성자의 Weibo 사용자 ID, 텍스트 형태로 표시됩니다.
screen_name string 표시되는 Weibo 계정 이름.
profile_image_url string 프로필 아바타 URL.
avatar_large string 대형 프로필 아바타 URL이 있습니다.
avatar_hd string 고해상도 아바타 URL.
profile_url string Weibo가 반환한 프로필 링크.
verified boolean Weibo가 계정을 인증된 것으로 표시하는지 여부.
verified_type integer 웨이보에 기록된 숫자형 계정 인증 유형.
verified_type_ext integer 추가적인 숫자 계정 인증 분류.
following boolean 현재 이 정보를 보는 계정이 이 작성자를 팔로우하는 것으로 표시되어 있는지 여부입니다.
follow_me boolean 작성자가 현재 이 정보를 보는 계정을 팔로우하는 것으로 표시되어 있는지 여부입니다.
참여도필드 4개

data.data.list[]

필드 유형 설명
reposts_count integer Weibo가 보고한 재게시 수.
comments_count integer Weibo에서 보고된 댓글 수.
attitudes_count integer Weibo가 보고한 반응 수.
attitudes_status integer 응답 컨텍스트의 숫자형 반응 상태.
게시물 사진필드 52개

data.data.list[]

필드 유형 설명
pic_num integer 게시물에 대한 사진 수 보고.
pic_ids array 게시물에 첨부된 사진의 ID. 목록은 비어 있을 수 있습니다.
pic_ids[] string Weibo 사진 ID.
pic_infos object 사진 ID별로 키된 사진 정보. 각 항목은 여러 이미지 표현을 포함할 수 있습니다.
pic_infos.{key} object 이 맵 키로 식별된 사진 기록.
pic_infos.{key}.pic_id string Weibo 사진 ID.
pic_infos.{key}.type string 이 이미지에 대해 반환된 미디어 유형 라벨.
pic_infos.{key}.pic_status integer 사진에 대한 숫자형 상태 코드 기록.
pic_infos.{key}.video string 제공된 경우 이미지와 함께 반환된 동영상 주소.
pic_infos.{key}.video_hd string 제공된 경우 이미지와 함께 고화질 동영상 주소가 반환되었습니다.
pic_infos.{key}.thumbnail object 축소 이미지 표현.
pic_infos.{key}.thumbnail.url string 이 사진 표현의 URL.
pic_infos.{key}.thumbnail.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.thumbnail.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.thumbnail.type string 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.thumbnail.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.bmiddle object 미디어 이미지 표현.
pic_infos.{key}.bmiddle.url string 이 사진 표현의 URL.
pic_infos.{key}.bmiddle.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.bmiddle.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.bmiddle.type string 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.bmiddle.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.large object 대형 이미지 표현.
pic_infos.{key}.large.url string 이 사진 표현의 URL.
pic_infos.{key}.large.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.large.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.large.type string 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.large.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.largecover object 대형 커버 이미지 표현.
pic_infos.{key}.largecover.url string 이 사진 표현의 URL.
pic_infos.{key}.largecover.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.largecover.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.largecover.type string 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.largecover.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.largest object 가장 큰 필드에서 반환된 이미지 표현.
pic_infos.{key}.largest.url string 이 사진 표현의 URL.
pic_infos.{key}.largest.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.largest.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.largest.type string 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.largest.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.mw2000 object mw2000 필드에서 반환된 이미지 표현.
pic_infos.{key}.mw2000.url string 이 사진 표현의 URL.
pic_infos.{key}.mw2000.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.mw2000.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.mw2000.type string 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.mw2000.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.original object 원본 필드에서 반환된 이미지 표현.
pic_infos.{key}.original.url string 이 사진 표현의 URL.
pic_infos.{key}.original.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.original.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.original.type string 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.original.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
카드 게시물 및 비디오필드 38개

data.data.list[].page_info

제공된 경우 비디오 또는 링크와 같은 첨부 콘텐츠 카드.

필드 유형 설명
type integer | string 카드 유형이 숫자 코드 또는 텍스트 레이블로 반환되었습니다.
object_type string 카드의 콘텐츠 객체 유형 레이블.
object_id string 카드와 관련된 콘텐츠 객체 ID.
page_title string 콘텐츠 카드에 표시된 제목.
content1 string 콘텐츠 카드에 반환된 첫 번째 텍스트 줄.
content2 string 콘텐츠 카드에 반환된 두 번째 텍스트 줄.
page_pic string 콘텐츠 카드에 대한 이미지 URL 반환.
page_url string 콘텐츠 카드 열기 위한 링크 반환.
media_info object 카드와 함께 반환된 비디오 메타데이터.
media_info.media_id string Weibo가 반환한 비디오 미디어 식별자.
media_info.media_type string 비디오에 대해 제공된 미디어 유형 라벨.
media_info.name string 미디어 항목에 대한 이름 기록.
media_info.video_title string 미디어 항목에 대한 비디오 제목.
media_info.format string 비디오에 제공된 미디어 형식.
media_info.video_orientation string Weibo가 제공한 비디오 방향 라벨.
media_info.video_publish_time integer 비디오 게시 시간(유닉스 타임스탬프, 초 단위).
media_info.duration integer Weibo가 이 미디어 항목에 대해 보고한 비디오 지속 시간 값.
media_info.stream_url string Weibo가 반환한 비디오 스트림 URL.
media_info.stream_url_hd string Weibo가 반환한 고화질 비디오 스트림 URL.
media_info.mp4_sd_url string Weibo에서 반환된 표준 해상도 MP4 URL.
media_info.mp4_hd_url string Weibo에서 반환된 고화질 MP4 URL.
media_info.playback_list array 비디오에 대한 Weibo에서 반환된 재생 변형.
media_info.playback_list[] object 비디오에 대한 재생 변형 하나 반환.
media_info.playback_list[].play_info object 이 재생 변형에 대해 반환된 미디어 속성.
media_info.playback_list[].play_info.width integer 비디오 프레임 너비(픽셀).
media_info.playback_list[].play_info.height integer 동영상 프레임 높이(픽셀).
media_info.playback_list[].play_info.fps integer 재생 변형에 대해 보고된 비디오 프레임 속도.
media_info.playback_list[].play_info.bitrate integer 이 재생 변형에 대한 비트레이트 값이 보고되었습니다.
media_info.playback_list[].play_info.duration number 이 재생 변형에 대한 지속 시간 값이 보고되었습니다.
media_info.playback_list[].play_info.mime string 이 재생 변형에 대해 보고된 미디어 MIME 유형.
media_info.playback_list[].play_info.label string 이 재생 변형에 대한 라벨 반환.
media_info.playback_list[].play_info.quality_label string 이 재생 변형에 대한 품질 라벨 반환.
media_info.playback_list[].play_info.video_codecs string 이 재생 변형에 대한 비디오 코덱 텍스트.
media_info.playback_list[].play_info.audio_codecs string 이 재생 변형에 대한 오디오 코덱 텍스트가 반환되었습니다.
media_info.playback_list[].play_info.audio_channels integer 이 재생 변형에 대한 오디오 채널 수가 보고되었습니다.
media_info.playback_list[].play_info.url string 이 변형에 대한 재생 URL 반환.
media_info.playback_list[].play_info.urls array 이 변형에 대해 반환된 재생 URL 목록.
media_info.playback_list[].play_info.urls[] string 이 변형에 대한 하나의 재생 URL.
주제 및 링크필드 11개

data.data.list[]

필드 유형 설명
topic_struct array 이 게시물에 첨부된 주제들.
topic_struct[] object 게시물에 첨부된 하나의 주제.
topic_struct[].title string 주제 항목에 대한 제목 텍스트.
topic_struct[].topic_title string 주제에 대한 표시 제목이 제공되었습니다.
topic_struct[].topic_url string 주제 열기 위한 링크 제공.
url_struct array 제공된 경우 이 게시물에 첨부된 링크.
url_struct[] object 게시물에 첨부된 하나의 링크 항목.
url_struct[].url_title string 링크에 대한 표시 제목이 반환되었습니다.
url_struct[].short_url string 링크 항목에 대한 짧은 링크.
url_struct[].long_url string 링크 항목에 대한 확장된 주소가 반환되었습니다.
url_struct[].url_type integer | string 숫자 코드 또는 텍스트 라벨로 보고된 링크 유형.
재게시된 원본 게시물필드 22개

data.data.list[].retweeted_status

재게시될 경우 포함된 원본 게시물 정보, 사용 가능할 때.

필드 유형 설명
id integer Weibo 게시물 ID 숫자형.
idstr string 텍스트 형태로 표시된 Weibo 게시물 ID.
mid string 텍스트 형태로 표시된 Weibo 메시지 ID.
mblogid string Weibo 게시물의 짧은 알파벳 문자 ID.
created_at string Weibo의 원본 타임스탬프 형식으로 표시된 게시 시간.
text string 웨이보가 반환한 게시물 본문. HTML 마크업 포함 가능.
text_raw string 이 게시물에 제공된 원본 본문 텍스트 필드.
textLength integer Weibo가 보고한 게시물 텍스트 길이.
source string 게시물에 표시된 소스 라벨(사용 가능한 경우).
region_name string 게시물에 표시된 지역 라벨.
isLongText boolean Weibo가 이 게시물을 긴 형식 텍스트로 표시하는지 여부.
isAd boolean 광고 플래그가 부울 또는 숫자 값으로 반환되었습니다.
is_paid boolean Weibo가 이 게시물을 유료 콘텐츠로 표시하는지 여부.
can_edit boolean 응답 컨텍스트에서 편집이 가능한지 여부.
favorited boolean 응답 컨텍스트에서 게시물이 마음에 드는 것으로 표시되는지 여부.
visible object 이 게시물과 함께 반환된 가시성 설정.
visible.type integer 웨이보가 보고한 가시성 코드.
visible.list_id integer 관련 가시성 목록의 숫자형 ID.
reposts_count integer Weibo가 보고한 재게시 수.
comments_count integer Weibo에서 보고된 댓글 수.
attitudes_count integer Weibo가 보고한 반응 수.
attitudes_status integer 응답 컨텍스트의 숫자형 반응 상태.
원본 게시물 작성자필드 12개

data.data.list[].retweeted_status.user

항목에 첨부된 공개 작성자 정보.

필드 유형 설명
id integer 작성자의 Weibo 사용자 ID 숫자형.
idstr string 작성자의 Weibo 사용자 ID, 텍스트 형태로 표시됩니다.
screen_name string 표시되는 Weibo 계정 이름.
profile_image_url string 프로필 아바타 URL.
avatar_large string 대형 프로필 아바타 URL이 있습니다.
avatar_hd string 고해상도 아바타 URL.
profile_url string Weibo가 반환한 프로필 링크.
verified boolean Weibo가 계정을 인증된 것으로 표시하는지 여부.
verified_type integer 웨이보에 기록된 숫자형 계정 인증 유형.
verified_type_ext integer 추가적인 숫자 계정 인증 분류.
following boolean 현재 이 정보를 보는 계정이 이 작성자를 팔로우하는 것으로 표시되어 있는지 여부입니다.
follow_me boolean 작성자가 현재 이 정보를 보는 계정을 팔로우하는 것으로 표시되어 있는지 여부입니다.
원본 게시물 사진필드 52개

data.data.list[].retweeted_status

필드 유형 설명
pic_num integer 게시물에 대한 사진 수 보고.
pic_ids array 게시물에 첨부된 사진의 ID. 목록은 비어 있을 수 있습니다.
pic_ids[] string Weibo 사진 ID.
pic_infos object 사진 ID별로 키된 사진 정보. 각 항목은 여러 이미지 표현을 포함할 수 있습니다.
pic_infos.{key} object 이 맵 키로 식별된 사진 기록.
pic_infos.{key}.pic_id string Weibo 사진 ID.
pic_infos.{key}.type string 이 이미지에 대해 반환된 미디어 유형 라벨.
pic_infos.{key}.pic_status integer 사진에 대한 숫자형 상태 코드 기록.
pic_infos.{key}.video string 제공된 경우 이미지와 함께 반환된 동영상 주소.
pic_infos.{key}.video_hd string 제공된 경우 이미지와 함께 고화질 동영상 주소가 반환되었습니다.
pic_infos.{key}.thumbnail object 축소 이미지 표현.
pic_infos.{key}.thumbnail.url string 이 사진 표현의 URL.
pic_infos.{key}.thumbnail.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.thumbnail.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.thumbnail.type string | null 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.thumbnail.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.bmiddle object 미디어 이미지 표현.
pic_infos.{key}.bmiddle.url string 이 사진 표현의 URL.
pic_infos.{key}.bmiddle.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.bmiddle.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.bmiddle.type string | null 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.bmiddle.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.large object 대형 이미지 표현.
pic_infos.{key}.large.url string 이 사진 표현의 URL.
pic_infos.{key}.large.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.large.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.large.type string | null 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.large.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.largecover object 대형 커버 이미지 표현.
pic_infos.{key}.largecover.url string 이 사진 표현의 URL.
pic_infos.{key}.largecover.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.largecover.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.largecover.type string | null 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.largecover.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.largest object 가장 큰 필드에서 반환된 이미지 표현.
pic_infos.{key}.largest.url string 이 사진 표현의 URL.
pic_infos.{key}.largest.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.largest.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.largest.type string | null 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.largest.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.mw2000 object mw2000 필드에서 반환된 이미지 표현.
pic_infos.{key}.mw2000.url string 이 사진 표현의 URL.
pic_infos.{key}.mw2000.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.mw2000.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.mw2000.type string | null 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.mw2000.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
pic_infos.{key}.original object 원본 필드에서 반환된 이미지 표현.
pic_infos.{key}.original.url string 이 사진 표현의 URL.
pic_infos.{key}.original.width integer 픽셀 단위의 사진 너비.
pic_infos.{key}.original.height integer 픽셀 단위의 사진 높이.
pic_infos.{key}.original.type string | null 제공된 경우 표현에 대한 미디어 유형 라벨.
pic_infos.{key}.original.cut_type integer 표현에 대한 숫자 크롭 유형 기록.
원본 카드 게시물 및 비디오필드 38개

data.data.list[].retweeted_status.page_info

제공된 경우 비디오 또는 링크와 같은 첨부 콘텐츠 카드.

필드 유형 설명
type integer | string 카드 유형이 숫자 코드 또는 텍스트 레이블로 반환되었습니다.
object_type string 카드의 콘텐츠 객체 유형 레이블.
object_id string 카드와 관련된 콘텐츠 객체 ID.
page_title string 콘텐츠 카드에 표시된 제목.
content1 string 콘텐츠 카드에 반환된 첫 번째 텍스트 줄.
content2 string 콘텐츠 카드에 반환된 두 번째 텍스트 줄.
page_pic string 콘텐츠 카드에 대한 이미지 URL 반환.
page_url string 콘텐츠 카드 열기 위한 링크 반환.
media_info object 카드와 함께 반환된 비디오 메타데이터.
media_info.media_id string Weibo가 반환한 비디오 미디어 식별자.
media_info.media_type string 비디오에 대해 제공된 미디어 유형 라벨.
media_info.name string 미디어 항목에 대한 이름 기록.
media_info.video_title string 미디어 항목에 대한 비디오 제목.
media_info.format string 비디오에 제공된 미디어 형식.
media_info.video_orientation string Weibo가 제공한 비디오 방향 라벨.
media_info.video_publish_time integer 비디오 게시 시간(유닉스 타임스탬프, 초 단위).
media_info.duration integer Weibo가 이 미디어 항목에 대해 보고한 비디오 지속 시간 값.
media_info.stream_url string Weibo가 반환한 비디오 스트림 URL.
media_info.stream_url_hd string Weibo가 반환한 고화질 비디오 스트림 URL.
media_info.mp4_sd_url string Weibo에서 반환된 표준 해상도 MP4 URL.
media_info.mp4_hd_url string Weibo에서 반환된 고화질 MP4 URL.
media_info.playback_list array 비디오에 대한 Weibo에서 반환된 재생 변형.
media_info.playback_list[] object 비디오에 대한 재생 변형 하나 반환.
media_info.playback_list[].play_info object 이 재생 변형에 대해 반환된 미디어 속성.
media_info.playback_list[].play_info.width integer 비디오 프레임 너비(픽셀).
media_info.playback_list[].play_info.height integer 동영상 프레임 높이(픽셀).
media_info.playback_list[].play_info.fps integer 재생 변형에 대해 보고된 비디오 프레임 속도.
media_info.playback_list[].play_info.bitrate integer 이 재생 변형에 대한 비트레이트 값이 보고되었습니다.
media_info.playback_list[].play_info.duration number 이 재생 변형에 대한 지속 시간 값이 보고되었습니다.
media_info.playback_list[].play_info.mime string 이 재생 변형에 대해 보고된 미디어 MIME 유형.
media_info.playback_list[].play_info.label string 이 재생 변형에 대한 라벨 반환.
media_info.playback_list[].play_info.quality_label string 이 재생 변형에 대한 품질 라벨 반환.
media_info.playback_list[].play_info.video_codecs string 이 재생 변형에 대한 비디오 코덱 텍스트.
media_info.playback_list[].play_info.audio_codecs string 이 재생 변형에 대한 오디오 코덱 텍스트가 반환되었습니다.
media_info.playback_list[].play_info.audio_channels integer 이 재생 변형에 대한 오디오 채널 수가 보고되었습니다.
media_info.playback_list[].play_info.url string 이 변형에 대한 재생 URL 반환.
media_info.playback_list[].play_info.urls array 이 변형에 대해 반환된 재생 URL 목록.
media_info.playback_list[].play_info.urls[] string 이 변형에 대한 하나의 재생 URL.
원본 게시물의 혼합 미디어필드 41개

data.data.list[].retweeted_status.mix_media_info

게시물에 대해 반환된 혼합 이미지 및 비디오 첨부.

필드 유형 설명
items array 혼합 미디어 첨부 항목 목록.
items[] object 게시물에 있는 하나의 혼합 미디어 첨부 파일.
items[].type string 혼합 미디어 첨부 파일의 유형 라벨.
items[].data object 이 혼합 미디어 첨부에 대한 메타데이터.
items[].data.pic_id string Weibo 사진 ID.
items[].data.page_title string 첨부 카드의 표시 제목이 있는 경우.
items[].data.media_info object 이 혼합 미디어 첨부 파일에 대한 비디오 메타데이터.
items[].data.media_info.media_id string Weibo가 반환한 비디오 미디어 식별자.
items[].data.media_info.media_type string 비디오에 대해 제공된 미디어 유형 라벨.
items[].data.media_info.name string 미디어 항목에 대한 이름 기록.
items[].data.media_info.format string 비디오에 제공된 미디어 형식.
items[].data.media_info.video_orientation string Weibo가 제공한 비디오 방향 라벨.
items[].data.media_info.video_publish_time integer 비디오 게시 시간(유닉스 타임스탬프, 초 단위).
items[].data.media_info.duration integer Weibo가 이 미디어 항목에 대해 보고한 비디오 지속 시간 값.
items[].data.media_info.stream_url string Weibo가 반환한 비디오 스트림 URL.
items[].data.media_info.stream_url_hd string Weibo가 반환한 고화질 비디오 스트림 URL.
items[].data.media_info.mp4_sd_url string Weibo에서 반환된 표준 해상도 MP4 URL.
items[].data.media_info.mp4_hd_url string Weibo에서 반환된 고화질 MP4 URL.
items[].data.media_info.playback_list array 비디오에 대한 Weibo에서 반환된 재생 변형.
items[].data.media_info.playback_list[] object 비디오에 대한 재생 변형 하나 반환.
items[].data.media_info.playback_list[].play_info object 이 재생 변형에 대해 반환된 미디어 속성.
items[].data.media_info.playback_list[].play_info.width integer 비디오 프레임 너비(픽셀).
items[].data.media_info.playback_list[].play_info.height integer 동영상 프레임 높이(픽셀).
items[].data.media_info.playback_list[].play_info.fps integer 재생 변형에 대해 보고된 비디오 프레임 속도.
items[].data.media_info.playback_list[].play_info.bitrate integer 이 재생 변형에 대한 비트레이트 값이 보고되었습니다.
items[].data.media_info.playback_list[].play_info.duration number 이 재생 변형에 대한 지속 시간 값이 보고되었습니다.
items[].data.media_info.playback_list[].play_info.mime string 이 재생 변형에 대해 보고된 미디어 MIME 유형.
items[].data.media_info.playback_list[].play_info.label string 이 재생 변형에 대한 라벨 반환.
items[].data.media_info.playback_list[].play_info.quality_label string 이 재생 변형에 대한 품질 라벨 반환.
items[].data.media_info.playback_list[].play_info.video_codecs string 이 재생 변형에 대한 비디오 코덱 텍스트.
items[].data.media_info.playback_list[].play_info.audio_codecs string 이 재생 변형에 대한 오디오 코덱 텍스트가 반환되었습니다.
items[].data.media_info.playback_list[].play_info.audio_channels integer 이 재생 변형에 대한 오디오 채널 수가 보고되었습니다.
items[].data.media_info.playback_list[].play_info.url string 이 변형에 대한 재생 URL 반환.
items[].data.media_info.playback_list[].play_info.urls array 이 변형에 대해 반환된 재생 URL 목록.
items[].data.media_info.playback_list[].play_info.urls[] string 이 변형에 대한 하나의 재생 URL.
items[].data.thumbnail object 축소 이미지 표현.
items[].data.thumbnail.url string 이 사진 표현의 URL.
items[].data.thumbnail.width integer 픽셀 단위의 사진 너비.
items[].data.thumbnail.height integer 픽셀 단위의 사진 높이.
items[].data.thumbnail.type string 제공된 경우 표현에 대한 미디어 유형 라벨.
items[].data.thumbnail.cut_type integer 표현에 대한 숫자 크롭 유형 기록.

응답 예시 ​

응답 예시를 불러오는 중…