Felo API PlatformFelo API Platform
X のエンドポイント一覧
v0.2.0-beta
OpenAPI 3.1.0

ツイートスレッドの文脈を取得

サーバー:https://openapi.felo.ai
クライアントライブラリ

Twitter / X

​

Query public users, posts, communities and trends.

ツイートスレッドの文脈を取得

​

ツイートを中心とした会話を再構築します。返信または元のツイートのいずれかを受け取り、前後のスレッドをカーソルページングで返します。ツイートだけでは文脈が足りず、正しく解釈するために親のチェーンが必要なときに使用します。ツイートは tweets の下に has_next_page と next_cursor とともに返されます。投稿下の返信のみが必要な場合は get_twitter_tweet_replies_v2 を使用してください。

料金の参考情報

  • 計測方法:結果件数単位で計測。
  • 参考リクエスト見積もり:0.00555 USD。
  • 最小コスト基準:USD 0.00015。
  • 参照用の顧客乗数:1.0。確定済みの顧客金額には再適用しないでください。
  • コスト基準は、ゼロの場合も含め、最終的な顧客価格を確定するものではありません。

参考情報のメタデータであり、アカウントへの見積もり、保証された価格、支出上限ではありません。リソースクレジットは Felo クレジットではありません。最終的な請求は Felo の請求記録に従います。

クエリパラメーター
  • cursor
    型: string
  • tweetId
    型: string
レスポンス
  • 200
    型: object · ResponseCbc4F8806E32_TweetThreadContextResponse

    成功レスポンス

    • has_next_page
      型: boolean
    • msg
      型: string
    • next_cursor
      型: string
    • status
      型: string 列挙値
      値
      • success
      • error
    • tweets
      型: array object[] · ResponseCbc4F8806E32_Tweet[]
      • author
        型: object · ResponseCbc4F8806E32_User
        • automatedBy
          型: string
        • canDm
          型: boolean
        • coverPicture
          型: string
        • createdAt
          型: string
        • description
          型: string
        • favouritesCount
          型: integer

          Integer numbers.

        • followers
          型: integer

          Integer numbers.

        • following
          型: integer

          Integer numbers.

        • hasCustomTimelines
          型: boolean
        • id
          型: string
        • isAutomated
          型: boolean
        • isBlueVerified
          型: boolean
        • isTranslator
          型: boolean
        • location
          型: string
        • mediaCount
          型: integer

          Integer numbers.

        • message
          型: string
        • name
          型: string
        • pinnedTweetIds
          型: array string[]
        • possiblySensitive
          型: boolean
        • profilePicture
          型: string
        • statusesCount
          型: integer

          Integer numbers.

        • type
          型: string
        • unavailable
          型: boolean
        • unavailableReason
          型: string
        • url
          型: string
        • userName
          型: string
        • verifiedType
          型: string
        • withheldInCountries
          型: array string[]
      • bookmarkCount
        型: integer

        Integer numbers.

      • conversationId
        型: string
      • createdAt
        型: string
      • displayTextRange
        型: array integer[]
      • entities
        型: object · ResponseCbc4F8806E32_Entities
        • hashtags
          型: array object[]
          • indices
            型: array integer[]
          • text
            型: string
        • urls
          型: array object[]
          • display_url
            型: string
          • expanded_url
            型: string
          • indices
            型: array integer[]
          • url
            型: string
        • user_mentions
          型: array object[]
          • id_str
            型: string
          • name
            型: string
          • screen_name
            型: string
      • id
        型: string
      • inReplyToId
        型: string
      • inReplyToUserId
        型: string
      • inReplyToUsername
        型: string
      • isLimitedReply
        型: boolean
      • isReply
        型: boolean
      • lang
        型: string
      • likeCount
        型: integer

        Integer numbers.

      • quoteCount
        型: integer

        Integer numbers.

      • quoted_tweet
        型: string
      • replyCount
        型: integer

        Integer numbers.

      • retweetCount
        型: integer

        Integer numbers.

      • retweeted_tweet
        型: string
      • source
        型: string
      • text
        型: string
      • type
        型: string
      • url
        型: string
      • viewCount
        型: integer

        Integer numbers.

    application/json
  • 400

    リクエストを処理できませんでした。リクエストパラメータを確認してください。

  • 401

    有効な Felo API キーが必要です。

  • 402

    請求要件が満たされていないため、リクエストを続行できません。

  • 403

    このアカウントにはこの操作を行う権限がありません。

  • 429

    リクエストまたは支出の上限に達しました。

  • 502

    サービスがリクエストを完了できませんでした。

  • 503

    API または請求サービスが一時的に利用できません。

  • 504

    リクエストの処理中にサービスがタイムアウトしました。

  • default

    エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります

    application/json
Request Example for get/v1/beta/twitter/tweet/thread_context
curl https://openapi.felo.ai/v1/beta/twitter/tweet/thread_context \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "has_next_page": true,
  "next_cursor": "string",
  "status": "success",
  "tweets": [
    {
      "type": "string",
      "id": "string",
      "url": "string",
      "text": "string",
      "source": "string",
      "retweetCount": 1,
      "replyCount": 1,
      "likeCount": 1,
      "quoteCount": 1,
      "viewCount": 1,
      "createdAt": "string",
      "lang": "string",
      "bookmarkCount": 1,
      "isReply": true,
      "inReplyToId": "string",
      "conversationId": "string",
      "displayTextRange": [
        1
      ],
      "inReplyToUserId": "string",
      "inReplyToUsername": "string",
      "author": {
        "type": "string",
        "userName": "string",
        "url": "string",
        "id": "string",
        "name": "string",
        "isBlueVerified": true,
        "verifiedType": "string",
        "profilePicture": "string",
        "coverPicture": "string",
        "description": "string",
        "location": "string",
        "followers": 1,
        "following": 1,
        "canDm": true,
        "createdAt": "string",
        "favouritesCount": 1,
        "hasCustomTimelines": true,
        "isTranslator": true,
        "mediaCount": 1,
        "statusesCount": 1,
        "withheldInCountries": [
          "string"
        ],
        "possiblySensitive": true,
        "pinnedTweetIds": [
          "string"
        ],
        "isAutomated": true,
        "automatedBy": "string",
        "unavailable": true,
        "message": "string",
        "unavailableReason": "string"
      },
      "entities": {
        "hashtags": [
          {
            "indices": [
              1
            ],
            "text": "string"
          }
        ],
        "urls": [
          {
            "display_url": "string",
            "expanded_url": "string",
            "indices": [
              1
            ],
            "url": "string"
          }
        ],
        "user_mentions": [
          {
            "id_str": "string",
            "name": "string",
            "screen_name": "string"
          }
        ]
      },
      "quoted_tweet": "string",
      "retweeted_tweet": "string",
      "isLimitedReply": true
    }
  ],
  "msg": "string"
}
Get Tweet Thread Context

ヘルプが必要ですか?

  • API・請求・アカウントのご質問はサポートへ。
  • Discord で Felo の開発者と交流できます。
  • 更新履歴 をご覧ください。
  • ボリューム価格や購買についてのご相談は営業窓口へ。
  • LLM での構築をお考えですか?llms.txt をご覧ください。