Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Get Tweets by IDs

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

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X 操作

Get Tweets by IDs

​

Fetch the full content of specific tweets when you already know their numeric tweet IDs (accepts multiple IDs in one call). Use this to expand IDs surfaced by search, timelines, or replies into complete objects. Returns text, author, source client, language, creation time, and engagement counts (likes, retweets, replies, quotes, bookmarks, views). If you do not have IDs yet, start with get_twitter_tweet_advanced_search.

クエリパラメーター
  • tweet_ids
    型: array string[]
    必須

    Comma-separated list of tweet IDs.

レスポンス
  • 200
    型: object

    Successful response

    • code
      型: integer

      Integer numbers.

    • msg
      型: string
    • status
      型: string
    • tweets
      型: array object[] · Tweet[]
      • author
        型: object · 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
        • profile_bio
          型: object
          • description
            型: string
          • entities
            型: object
            • description
              型: object
              • urls
                型: array object[]
                • display_url
                  型: string
                • expanded_url
                  型: string
                • indices
                  型: array integer[]
                • url
                  型: string
            • url
              型: object
              • urls
                型: array object[]
                • display_url
                  型: string
                • expanded_url
                  型: string
                • indices
                  型: array integer[]
                • url
                  型: string
        • 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
        • 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

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for get/v1/beta/twitter/tweets
curl 'https://openapi.felo.ai/v1/beta/twitter/tweets?tweet_ids=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "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",
        "profile_bio": {
          "description": "string",
          "entities": {
            "description": {
              "urls": [
                {
                  "display_url": "string",
                  "expanded_url": "string",
                  "indices": [
                    1
                  ],
                  "url": "string"
                }
              ]
            },
            "url": {
              "urls": [
                {
                  "display_url": "string",
                  "expanded_url": "string",
                  "indices": [
                    1
                  ],
                  "url": "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
    }
  ],
  "status": "string",
  "msg": "string",
  "code": 1
}
Get Tweets by IDs