---
title: "Twitter 投稿コメント API (V1)"
description: "tweet IDで識別されたX（Twitter）投稿の最新コメントを取得します。既知の投稿に関する最近の議論を確認し、さらにコメントページを閲覧するために使用します。"
lastUpdated: false
aiUsagePrompt: true
---

# Twitter 投稿コメント API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/twitter/get-post-comments/v1\"")'
  :summary='JSON.parse("\"投稿コメント (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/twitter/post-comments-v1-ja.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"APIアクセスに必要な認証トークン。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"tweetId\",\"in\":\"query\",\"description\":\"X（Twitter）投稿の一意な識別子。\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"cursor\",\"in\":\"query\",\"description\":\"前のレスポンスで返されたページングカーソル。\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"\"}}]")'
  :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\",\"properties\":{\"status\":{\"type\":\"string\",\"description\":\"レスポンスデータに返されるステータスラベル。\"},\"timeline\":{\"type\":\"array\",\"description\":\"要求された投稿とページのタイムラインエントリ。\",\"items\":{\"type\":\"object\",\"description\":\"一つのタイムラインエントリ。エントリにはリプライスやオリジナルの投稿が含まれることがあります。\",\"properties\":{\"tweet_id\":{\"type\":\"string\",\"description\":\"X投稿ID、文字列として返される。\"},\"created_at\":{\"type\":\"string\",\"description\":\"投稿が公開された時期。\"},\"text\":{\"type\":\"string\",\"description\":\"投稿のテキスト。\"},\"lang\":{\"type\":\"string\",\"description\":\"投稿の報告された言語コード。\"},\"conversation_id\":{\"type\":\"string\",\"description\":\"会話内のルート投稿のID、文字列として返される。\"},\"sensitive\":{\"type\":[\"boolean\",\"null\"],\"description\":\"値が利用可能な場合、投稿が潜在的にセンシティブとしてマークされているかどうか。\"},\"type\":{\"type\":\"string\",\"description\":\"Xによって報告されたエントリタイプのラベル。\"},\"screen_name\":{\"type\":\"string\",\"description\":\"@プレフィックスなしのアカウントユーザー名。\"},\"display_text_range\":{\"type\":\"array\",\"description\":\"表示されるテキストの開始位置と終了位置。\",\"items\":{\"type\":\"integer\"}},\"source\":{\"type\":[\"string\",\"null\"],\"description\":\"投稿クライアントのラベルで、HTMLリンクまたはnullのいずれかです。\"},\"in_reply_to_status_id_str\":{\"type\":\"string\",\"description\":\"このエントリが直接返信する投稿のID、文字列として返されます。\"},\"in_reply_to_user_id_str\":{\"type\":\"string\",\"description\":\"このエントリが直接返信するアカウントのID、文字列として返されます。\"},\"in_reply_to_screen_name\":{\"type\":\"string\",\"description\":\"このエントリが直接返信するアカウントのユーザー名。\"},\"bookmarks\":{\"type\":\"integer\",\"description\":\"報告されたブックマーク数。\"},\"favorites\":{\"type\":\"integer\",\"description\":\"報告された「いいね」数。\"},\"quotes\":{\"type\":\"integer\",\"description\":\"報告された引用数。\"},\"replies\":{\"type\":\"integer\",\"description\":\"報告された返信数。\"},\"retweets\":{\"type\":\"integer\",\"description\":\"報告された再投稿数。\"},\"views\":{\"type\":[\"string\",\"null\"],\"description\":\"数値文字列としての報告された視聴回数。nullの場合もあります。\"},\"user_info\":{\"type\":\"object\",\"description\":\"このエントリの著者の公開プロフィールフィールド。\",\"properties\":{\"rest_id\":{\"type\":\"string\",\"description\":\"XアカウントID、文字列として返される。\"},\"created_at\":{\"type\":\"string\",\"description\":\"Xアカウントが作成された時期。\"},\"name\":{\"type\":\"string\",\"description\":\"アカウントの表示名。\"},\"screen_name\":{\"type\":\"string\",\"description\":\"@プレフィックスなしのアカウントユーザー名。\"},\"avatar\":{\"type\":\"string\",\"description\":\"プロフィールアバターのURL。\"},\"followers_count\":{\"type\":\"integer\",\"description\":\"著者をフォローしているアカウントの報告数。\"},\"favorites_count\":{\"type\":\"integer\",\"description\":\"著者がいいねした投稿の数。\"},\"verified\":{\"type\":\"boolean\",\"description\":\"著者に対して返される検証フラグ。\"},\"verified_type\":{\"type\":[\"string\",\"null\"],\"description\":\"提供されている場合は、アカウントの検証カテゴリー。\"},\"location\":{\"type\":\"string\",\"description\":\"著者がプロフィールで提供する場所テキスト。空でもよい。\"}}},\"entities\":{\"type\":\"object\",\"description\":\"投稿テキストに関連するリンク、言及、その他のエンティティ。\",\"properties\":{\"urls\":{\"type\":\"array\",\"description\":\"投稿テキスト内に見つかったリンク。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"投稿テキストに表示されるショートリンク。\"},\"expanded_url\":{\"type\":\"string\",\"description\":\"リンクの拡張された目的地URL。\"},\"display_url\":{\"type\":\"string\",\"description\":\"投稿と共に表示される読みやすいリンクラベル。\"},\"indices\":{\"type\":\"array\",\"description\":\"投稿テキスト内のエンティティの開始位置と終了位置。\",\"items\":{\"type\":\"integer\"}}}}},\"user_mentions\":{\"type\":\"array\",\"description\":\"投稿で言及されたアカウント。\",\"items\":{\"type\":\"object\",\"properties\":{\"id_str\":{\"type\":\"string\",\"description\":\"XアカウントID、文字列として返される。\"},\"name\":{\"type\":\"string\",\"description\":\"アカウントの表示名。\"},\"screen_name\":{\"type\":\"string\",\"description\":\"@プレフィックスなしのアカウントユーザー名。\"},\"indices\":{\"type\":\"array\",\"description\":\"投稿テキスト内のエンティティの開始位置と終了位置。\",\"items\":{\"type\":\"integer\"}}}}},\"hashtags\":{\"type\":\"array\",\"description\":\"投稿に関連するハッシュタグエンティティ。\"},\"symbols\":{\"type\":\"array\",\"description\":\"投稿に関連するシンボルエンティティ。\"},\"media\":{\"type\":\"array\",\"description\":\"投稿で返されるメディアリンクエンティティ。\",\"items\":{\"type\":\"object\",\"properties\":{\"id_str\":{\"type\":\"string\",\"description\":\"メディアエンティティIDで、文字列として返されます。\"},\"type\":{\"type\":\"string\",\"description\":\"この添付ファイルのメディアエンティティタイプ。\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"メディアエンティティに関連するHTTPS URL。\"},\"indices\":{\"type\":\"array\",\"description\":\"投稿テキスト内のエンティティの開始位置と終了位置。\",\"items\":{\"type\":\"integer\"}}}}}}},\"media\":{\"type\":[\"object\",\"array\"],\"description\":\"メディア添付ファイル。添付ファイルがない場合、応答は空の配列を使用できる。\",\"properties\":{\"photo\":{\"type\":\"array\",\"description\":\"添付された画像。\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"画像添付IDで、文字列として返されます。\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"画像のHTTPS URL。\"},\"sizes\":{\"type\":\"object\",\"description\":\"画像のピクセル単位のサイズ。\",\"properties\":{\"h\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の高さ。\"},\"w\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の幅。\"}}}}}},\"video\":{\"type\":\"array\",\"description\":\"添付されたビデオ。\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ビデオ添付ファイルのID、文字列として返される。\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"ビデオプレビュー画像のHTTPS URL。\"},\"variants\":{\"type\":\"array\",\"description\":\"利用可能なビデオ再生バリアント。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"このビデオバリアントの再生URL。\"},\"content_type\":{\"type\":\"string\",\"description\":\"このビデオバリアントのメディアタイプ。\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"このビデオバリアントのビットレートが報告されました。\"}}}},\"aspect_ratio\":{\"type\":\"array\",\"description\":\"二つの整数からなる配列で表した動画のアスペクト比。\",\"items\":{\"type\":\"integer\"}}}}}}},\"quoted\":{\"type\":\"object\",\"description\":\"このエントリに引用された投稿、利用可能な場合。\",\"properties\":{\"tweet_id\":{\"type\":\"string\",\"description\":\"X投稿ID、文字列として返される。\"},\"created_at\":{\"type\":\"string\",\"description\":\"投稿が公開された時期。\"},\"text\":{\"type\":\"string\",\"description\":\"投稿のテキスト。\"},\"lang\":{\"type\":\"string\",\"description\":\"投稿の報告された言語コード。\"},\"conversation_id\":{\"type\":\"string\",\"description\":\"会話内のルート投稿のID、文字列として返される。\"},\"sensitive\":{\"type\":[\"boolean\",\"null\"],\"description\":\"値が利用可能な場合、投稿が潜在的にセンシティブとしてマークされているかどうか。\"},\"bookmarks\":{\"type\":\"integer\",\"description\":\"報告されたブックマーク数。\"},\"favorites\":{\"type\":\"integer\",\"description\":\"報告された「いいね」数。\"},\"quotes\":{\"type\":\"integer\",\"description\":\"報告された引用数。\"},\"replies\":{\"type\":\"integer\",\"description\":\"報告された返信数。\"},\"retweets\":{\"type\":\"integer\",\"description\":\"報告された再投稿数。\"},\"views\":{\"type\":[\"string\",\"null\"],\"description\":\"数値文字列としての報告された視聴回数。nullの場合もあります。\"},\"author\":{\"type\":\"object\",\"description\":\"引用された投稿の著者の公開プロフィールフィールド。\",\"properties\":{\"rest_id\":{\"type\":\"string\",\"description\":\"XアカウントID、文字列として返される。\"},\"created_at\":{\"type\":\"string\",\"description\":\"Xアカウントが作成された時期。\"},\"name\":{\"type\":\"string\",\"description\":\"アカウントの表示名。\"},\"screen_name\":{\"type\":\"string\",\"description\":\"@プレフィックスなしのアカウントユーザー名。\"},\"avatar\":{\"type\":\"string\",\"description\":\"プロフィールアバターのURL。\"},\"blue_verified\":{\"type\":\"boolean\",\"description\":\"引用された投稿の著者に対して返されるブルーチェックステータス。\"}}},\"media\":{\"type\":[\"object\",\"array\"],\"description\":\"メディア添付ファイル。添付ファイルがない場合、応答は空の配列を使用できる。\",\"properties\":{\"photo\":{\"type\":\"array\",\"description\":\"添付された画像。\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"画像添付IDで、文字列として返されます。\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"画像のHTTPS URL。\"},\"sizes\":{\"type\":\"object\",\"description\":\"画像のピクセル単位のサイズ。\",\"properties\":{\"h\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の高さ。\"},\"w\":{\"type\":\"integer\",\"description\":\"画像のピクセル単位の幅。\"}}}}}},\"video\":{\"type\":\"array\",\"description\":\"添付されたビデオ。\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ビデオ添付ファイルのID、文字列として返される。\"},\"media_url_https\":{\"type\":\"string\",\"description\":\"ビデオプレビュー画像のHTTPS URL。\"},\"variants\":{\"type\":\"array\",\"description\":\"利用可能なビデオ再生バリアント。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"このビデオバリアントの再生URL。\"},\"content_type\":{\"type\":\"string\",\"description\":\"このビデオバリアントのメディアタイプ。\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"このビデオバリアントのビットレートが報告されました。\"}}}},\"aspect_ratio\":{\"type\":\"array\",\"description\":\"二つの整数からなる配列で表した動画のアスペクト比。\",\"items\":{\"type\":\"integer\"}}}}}}}}}}}},\"next_cursor\":{\"type\":\"string\",\"description\":\"値が空でない場合、次のページのカーソルとしてこの値を渡す。\"},\"prev_cursor\":{\"type\":\"string\",\"description\":\"後方ページングのためのカーソル。空の場合もあります。\"}}}}},\"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\":\"有効でないまたは無効なアクセストークン。\",\"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/twitter/get-post-comments/v1\"")' />

<p>tweet IDで識別されたX（Twitter）投稿の最新コメントを取得します。既知の投稿に関する最近の議論を確認し、さらにコメントページを閲覧するために使用します。</p>

## パラメータ

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

| 名前 | パラメーターの場所 | タイプ | 必須 | デフォルト | 説明 |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | はい | - | APIアクセスに必要な認証トークン。 |
| <code>tweetId</code> | query | <code>string</code> | はい | - | X（Twitter）投稿の一意な識別子。 |
| <code>cursor</code> | query | <code>string</code> | いいえ | <code></code> | 前のレスポンスで返されたページングカーソル。 |

</div>

## コードサンプル

::: code-group

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

```text [🤖 AIプロンプト]
私はJustOneAPIの"投稿コメント (V1)" APIを使用したいです。
基本URL: https://api.justoneapi.com.
APIパス: /api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE
APIエンドポイント: BASE_URL + /api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=VALUE
HTTPメソッド: GET
認証: "token"クエリパラメーターをURLに追加します。
OpenAPI定義: https://docs.justoneapi.com/openapi/twitter/post-comments-v1-ja.json

パラメーター:
- token (query): APIアクセスに必要な認証トークン。 (必須)
- tweetId (query): X（Twitter）投稿の一意な識別子。 (必須)
- cursor (query): 前のレスポンスで返されたページングカーソル。

返信形式：実際のContent-Typeに応じて、JSONまたはテキストを安全に処理する。

レスポンスの処理とエラーコード：
1. API の処理結果はレスポンス本文の「code」フィールドで判定します。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"  # オープンAPIサーバーによって提供される

url = BASE_URL + "/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=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"; // オープンAPIサーバーによって提供される
const url = BASE_URL + "/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=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"; // オープンAPIサーバーによって提供される
        final String url = BASE_URL + "/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=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" // オープンAPIサーバーによって提供される

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=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'; // オープンAPIサーバーによって提供される
$url = $BASE_URL . '/api/twitter/get-post-comments/v1?token=YOUR_API_KEY&tweetId=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/twitter/post-comments-v1-ja.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</code> | - |
| <code>data.status</code> | <code>string</code> | レスポンスデータに返されるステータスラベル。 |
| <code>data.timeline</code> | <code>array</code> | 要求された投稿とページのタイムラインエントリ。 |
| <code>data.timeline[]</code> | <code>object</code> | 一つのタイムラインエントリ。エントリにはリプライスやオリジナルの投稿が含まれることがあります。 |
| <code>data.timeline[].tweet_id</code> | <code>string</code> | X投稿ID、文字列として返される。 |
| <code>data.timeline[].created_at</code> | <code>string</code> | 投稿が公開された時期。 |
| <code>data.timeline[].text</code> | <code>string</code> | 投稿のテキスト。 |
| <code>data.timeline[].lang</code> | <code>string</code> | 投稿の報告された言語コード。 |
| <code>data.timeline[].conversation_id</code> | <code>string</code> | 会話内のルート投稿のID、文字列として返される。 |
| <code>data.timeline[].sensitive</code> | <code>boolean &#124; null</code> | 値が利用可能な場合、投稿が潜在的にセンシティブとしてマークされているかどうか。 |
| <code>data.timeline[].type</code> | <code>string</code> | Xによって報告されたエントリタイプのラベル。 |
| <code>data.timeline[].screen_name</code> | <code>string</code> | @プレフィックスなしのアカウントユーザー名。 |
| <code>data.timeline[].display_text_range</code> | <code>array</code> | 表示されるテキストの開始位置と終了位置。 |
| <code>data.timeline[].display_text_range[]</code> | <code>integer</code> | - |
| <code>data.timeline[].source</code> | <code>string &#124; null</code> | 投稿クライアントのラベルで、HTMLリンクまたはnullのいずれかです。 |
| <code>data.timeline[].in_reply_to_status_id_str</code> | <code>string</code> | このエントリが直接返信する投稿のID、文字列として返されます。 |
| <code>data.timeline[].in_reply_to_user_id_str</code> | <code>string</code> | このエントリが直接返信するアカウントのID、文字列として返されます。 |
| <code>data.timeline[].in_reply_to_screen_name</code> | <code>string</code> | このエントリが直接返信するアカウントのユーザー名。 |
| <code>data.timeline[].bookmarks</code> | <code>integer</code> | 報告されたブックマーク数。 |
| <code>data.timeline[].favorites</code> | <code>integer</code> | 報告された「いいね」数。 |
| <code>data.timeline[].quotes</code> | <code>integer</code> | 報告された引用数。 |
| <code>data.timeline[].replies</code> | <code>integer</code> | 報告された返信数。 |
| <code>data.timeline[].retweets</code> | <code>integer</code> | 報告された再投稿数。 |
| <code>data.timeline[].views</code> | <code>string &#124; null</code> | 数値文字列としての報告された視聴回数。nullの場合もあります。 |
| <code>data.timeline[].user_info</code> | <code>object</code> | このエントリの著者の公開プロフィールフィールド。 |
| <code>data.timeline[].user_info.rest_id</code> | <code>string</code> | XアカウントID、文字列として返される。 |
| <code>data.timeline[].user_info.created_at</code> | <code>string</code> | Xアカウントが作成された時期。 |
| <code>data.timeline[].user_info.name</code> | <code>string</code> | アカウントの表示名。 |
| <code>data.timeline[].user_info.screen_name</code> | <code>string</code> | @プレフィックスなしのアカウントユーザー名。 |
| <code>data.timeline[].user_info.avatar</code> | <code>string</code> | プロフィールアバターのURL。 |
| <code>data.timeline[].user_info.followers_count</code> | <code>integer</code> | 著者をフォローしているアカウントの報告数。 |
| <code>data.timeline[].user_info.favorites_count</code> | <code>integer</code> | 著者がいいねした投稿の数。 |
| <code>data.timeline[].user_info.verified</code> | <code>boolean</code> | 著者に対して返される検証フラグ。 |
| <code>data.timeline[].user_info.verified_type</code> | <code>string &#124; null</code> | 提供されている場合は、アカウントの検証カテゴリー。 |
| <code>data.timeline[].user_info.location</code> | <code>string</code> | 著者がプロフィールで提供する場所テキスト。空でもよい。 |
| <code>data.timeline[].entities</code> | <code>object</code> | 投稿テキストに関連するリンク、言及、その他のエンティティ。 |
| <code>data.timeline[].entities.urls</code> | <code>array</code> | 投稿テキスト内に見つかったリンク。 |
| <code>data.timeline[].entities.urls[]</code> | <code>object</code> | - |
| <code>data.timeline[].entities.urls[].url</code> | <code>string</code> | 投稿テキストに表示されるショートリンク。 |
| <code>data.timeline[].entities.urls[].expanded_url</code> | <code>string</code> | リンクの拡張された目的地URL。 |
| <code>data.timeline[].entities.urls[].display_url</code> | <code>string</code> | 投稿と共に表示される読みやすいリンクラベル。 |
| <code>data.timeline[].entities.urls[].indices</code> | <code>array</code> | 投稿テキスト内のエンティティの開始位置と終了位置。 |
| <code>data.timeline[].entities.urls[].indices[]</code> | <code>integer</code> | - |
| <code>data.timeline[].entities.user_mentions</code> | <code>array</code> | 投稿で言及されたアカウント。 |
| <code>data.timeline[].entities.user_mentions[]</code> | <code>object</code> | - |
| <code>data.timeline[].entities.user_mentions[].id_str</code> | <code>string</code> | XアカウントID、文字列として返される。 |
| <code>data.timeline[].entities.user_mentions[].name</code> | <code>string</code> | アカウントの表示名。 |
| <code>data.timeline[].entities.user_mentions[].screen_name</code> | <code>string</code> | @プレフィックスなしのアカウントユーザー名。 |
| <code>data.timeline[].entities.user_mentions[].indices</code> | <code>array</code> | 投稿テキスト内のエンティティの開始位置と終了位置。 |
| <code>data.timeline[].entities.user_mentions[].indices[]</code> | <code>integer</code> | - |
| <code>data.timeline[].entities.hashtags</code> | <code>array</code> | 投稿に関連するハッシュタグエンティティ。 |
| <code>data.timeline[].entities.symbols</code> | <code>array</code> | 投稿に関連するシンボルエンティティ。 |
| <code>data.timeline[].entities.media</code> | <code>array</code> | 投稿で返されるメディアリンクエンティティ。 |
| <code>data.timeline[].entities.media[]</code> | <code>object</code> | - |
| <code>data.timeline[].entities.media[].id_str</code> | <code>string</code> | メディアエンティティIDで、文字列として返されます。 |
| <code>data.timeline[].entities.media[].type</code> | <code>string</code> | この添付ファイルのメディアエンティティタイプ。 |
| <code>data.timeline[].entities.media[].media_url_https</code> | <code>string</code> | メディアエンティティに関連するHTTPS URL。 |
| <code>data.timeline[].entities.media[].indices</code> | <code>array</code> | 投稿テキスト内のエンティティの開始位置と終了位置。 |
| <code>data.timeline[].entities.media[].indices[]</code> | <code>integer</code> | - |
| <code>data.timeline[].media</code> | <code>object &#124; array</code> | メディア添付ファイル。添付ファイルがない場合、応答は空の配列を使用できる。 |
| <code>data.timeline[].media.photo</code> | <code>array</code> | 添付された画像。 |
| <code>data.timeline[].media.photo[]</code> | <code>object</code> | - |
| <code>data.timeline[].media.photo[].id</code> | <code>string</code> | 画像添付IDで、文字列として返されます。 |
| <code>data.timeline[].media.photo[].media_url_https</code> | <code>string</code> | 画像のHTTPS URL。 |
| <code>data.timeline[].media.photo[].sizes</code> | <code>object</code> | 画像のピクセル単位のサイズ。 |
| <code>data.timeline[].media.photo[].sizes.h</code> | <code>integer</code> | 画像のピクセル単位の高さ。 |
| <code>data.timeline[].media.photo[].sizes.w</code> | <code>integer</code> | 画像のピクセル単位の幅。 |
| <code>data.timeline[].media.video</code> | <code>array</code> | 添付されたビデオ。 |
| <code>data.timeline[].media.video[]</code> | <code>object</code> | - |
| <code>data.timeline[].media.video[].id</code> | <code>string</code> | ビデオ添付ファイルのID、文字列として返される。 |
| <code>data.timeline[].media.video[].media_url_https</code> | <code>string</code> | ビデオプレビュー画像のHTTPS URL。 |
| <code>data.timeline[].media.video[].variants</code> | <code>array</code> | 利用可能なビデオ再生バリアント。 |
| <code>data.timeline[].media.video[].variants[]</code> | <code>object</code> | - |
| <code>data.timeline[].media.video[].variants[].url</code> | <code>string</code> | このビデオバリアントの再生URL。 |
| <code>data.timeline[].media.video[].variants[].content_type</code> | <code>string</code> | このビデオバリアントのメディアタイプ。 |
| <code>data.timeline[].media.video[].variants[].bitrate</code> | <code>integer</code> | このビデオバリアントのビットレートが報告されました。 |
| <code>data.timeline[].media.video[].aspect_ratio</code> | <code>array</code> | 二つの整数からなる配列で表した動画のアスペクト比。 |
| <code>data.timeline[].media.video[].aspect_ratio[]</code> | <code>integer</code> | - |
| <code>data.timeline[].quoted</code> | <code>object</code> | このエントリに引用された投稿、利用可能な場合。 |
| <code>data.timeline[].quoted.tweet_id</code> | <code>string</code> | X投稿ID、文字列として返される。 |
| <code>data.timeline[].quoted.created_at</code> | <code>string</code> | 投稿が公開された時期。 |
| <code>data.timeline[].quoted.text</code> | <code>string</code> | 投稿のテキスト。 |
| <code>data.timeline[].quoted.lang</code> | <code>string</code> | 投稿の報告された言語コード。 |
| <code>data.timeline[].quoted.conversation_id</code> | <code>string</code> | 会話内のルート投稿のID、文字列として返される。 |
| <code>data.timeline[].quoted.sensitive</code> | <code>boolean &#124; null</code> | 値が利用可能な場合、投稿が潜在的にセンシティブとしてマークされているかどうか。 |
| <code>data.timeline[].quoted.bookmarks</code> | <code>integer</code> | 報告されたブックマーク数。 |
| <code>data.timeline[].quoted.favorites</code> | <code>integer</code> | 報告された「いいね」数。 |
| <code>data.timeline[].quoted.quotes</code> | <code>integer</code> | 報告された引用数。 |
| <code>data.timeline[].quoted.replies</code> | <code>integer</code> | 報告された返信数。 |
| <code>data.timeline[].quoted.retweets</code> | <code>integer</code> | 報告された再投稿数。 |
| <code>data.timeline[].quoted.views</code> | <code>string &#124; null</code> | 数値文字列としての報告された視聴回数。nullの場合もあります。 |
| <code>data.timeline[].quoted.author</code> | <code>object</code> | 引用された投稿の著者の公開プロフィールフィールド。 |
| <code>data.timeline[].quoted.author.rest_id</code> | <code>string</code> | XアカウントID、文字列として返される。 |
| <code>data.timeline[].quoted.author.created_at</code> | <code>string</code> | Xアカウントが作成された時期。 |
| <code>data.timeline[].quoted.author.name</code> | <code>string</code> | アカウントの表示名。 |
| <code>data.timeline[].quoted.author.screen_name</code> | <code>string</code> | @プレフィックスなしのアカウントユーザー名。 |
| <code>data.timeline[].quoted.author.avatar</code> | <code>string</code> | プロフィールアバターのURL。 |
| <code>data.timeline[].quoted.author.blue_verified</code> | <code>boolean</code> | 引用された投稿の著者に対して返されるブルーチェックステータス。 |
| <code>data.timeline[].quoted.media</code> | <code>object &#124; array</code> | メディア添付ファイル。添付ファイルがない場合、応答は空の配列を使用できる。 |
| <code>data.timeline[].quoted.media.photo</code> | <code>array</code> | 添付された画像。 |
| <code>data.timeline[].quoted.media.photo[]</code> | <code>object</code> | - |
| <code>data.timeline[].quoted.media.photo[].id</code> | <code>string</code> | 画像添付IDで、文字列として返されます。 |
| <code>data.timeline[].quoted.media.photo[].media_url_https</code> | <code>string</code> | 画像のHTTPS URL。 |
| <code>data.timeline[].quoted.media.photo[].sizes</code> | <code>object</code> | 画像のピクセル単位のサイズ。 |
| <code>data.timeline[].quoted.media.photo[].sizes.h</code> | <code>integer</code> | 画像のピクセル単位の高さ。 |
| <code>data.timeline[].quoted.media.photo[].sizes.w</code> | <code>integer</code> | 画像のピクセル単位の幅。 |
| <code>data.timeline[].quoted.media.video</code> | <code>array</code> | 添付されたビデオ。 |
| <code>data.timeline[].quoted.media.video[]</code> | <code>object</code> | - |
| <code>data.timeline[].quoted.media.video[].id</code> | <code>string</code> | ビデオ添付ファイルのID、文字列として返される。 |
| <code>data.timeline[].quoted.media.video[].media_url_https</code> | <code>string</code> | ビデオプレビュー画像のHTTPS URL。 |
| <code>data.timeline[].quoted.media.video[].variants</code> | <code>array</code> | 利用可能なビデオ再生バリアント。 |
| <code>data.timeline[].quoted.media.video[].variants[]</code> | <code>object</code> | - |
| <code>data.timeline[].quoted.media.video[].variants[].url</code> | <code>string</code> | このビデオバリアントの再生URL。 |
| <code>data.timeline[].quoted.media.video[].variants[].content_type</code> | <code>string</code> | このビデオバリアントのメディアタイプ。 |
| <code>data.timeline[].quoted.media.video[].variants[].bitrate</code> | <code>integer</code> | このビデオバリアントのビットレートが報告されました。 |
| <code>data.timeline[].quoted.media.video[].aspect_ratio</code> | <code>array</code> | 二つの整数からなる配列で表した動画のアスペクト比。 |
| <code>data.timeline[].quoted.media.video[].aspect_ratio[]</code> | <code>integer</code> | - |
| <code>data.next_cursor</code> | <code>string</code> | 値が空でない場合、次のページのカーソルとしてこの値を渡す。 |
| <code>data.prev_cursor</code> | <code>string</code> | 後方ページングのためのカーソル。空の場合もあります。 |

</div>

## レスポンス例

<ApiExampleSection :api='JSON.parse("\"/api/twitter/get-post-comments/v1\"")' />

