オブジェクト
MediaText オブジェクト
Words read off a post's pictures: each image of an image post, or the text shown on screen in a video, with times. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.
| フィールド | 種類 | view から | 説明 |
|---|---|---|---|
post_id | string | compact | リクエストした投稿または動画の ID。 |
source | string | compact | images: an image post, one block per image with text. frames: a video, one block per stretch of frames showing the same words. |
title | string | null | compact | The post's own title, as the platform gives it. |
description | string | null | standard | The post's own caption, as the platform gives it. · compact では省略される場合あり |
blocks | TextBlock[] | standard | Text read, image by image or by time; images and frames without text are left out. |
text | string | compact | すべてのブロックを改行で連結したもの。 · compact では省略される場合あり |
ext | オブジェクト | 全体 | プラットフォーム固有の追加情報。view=full の場合のみ返されます。 · view=full の場合のみ |
TextBlock
| フィールド | 種類 | 説明 |
|---|---|---|
index | integer | null | Which image, from 0, in the post's order; null for video frames. |
image_url | string | null | 読み取った画像。動画フレームの場合は null。 |
start | number | null | Seconds into the video where the words appear; null for images. |
end | number | null | Seconds into the video where the words were last seen; null for images. |
text | string | 読み取ったテキスト(改行を保持)。 |