Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0
Server:https://openapi.felo.ai
Client Libraries

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Operations

Get Article

​

Get the full body of an X Article (long-form post) by its tweet ID. Use this when a tweet links to or is an Article and the 280-character preview is not enough — this returns the complete text rather than the truncated tweet. Returns the article under article. For ordinary tweets use get_twitter_tweets.

Query Parameters
  • tweet_id
    Type: string
    required

    The tweet ID of the article.

Responses
  • 200
    Type: object · ArticleResponse

    Successful response

    • article
      Type: object · Articlenullable
      • author
        Type: object · User
        • automatedBy
          Type: string
        • canDm
          Type: boolean
        • coverPicture
          Type: string
        • createdAt
          Type: string
        • description
          Type: string
        • favouritesCount
          Type: integer

          Integer numbers.

        • followers
          Type: integer

          Integer numbers.

        • following
          Type: integer

          Integer numbers.

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

          Integer numbers.

        • message
          Type: string
        • name
          Type: string
        • pinnedTweetIds
          Type: array string[]
        • possiblySensitive
          Type: boolean
        • profile_bio
          Type: object
          • description
            Type: string
          • entities
            Type: object
            • description
              Type: object
              • urls
                Type: array object[]
                • display_url
                  Type: string
                • expanded_url
                  Type: string
                • indices
                  Type: array integer[]
                • url
                  Type: string
            • url
              Type: object
              • urls
                Type: array object[]
                • display_url
                  Type: string
                • expanded_url
                  Type: string
                • indices
                  Type: array integer[]
                • url
                  Type: string
        • profilePicture
          Type: string
        • statusesCount
          Type: integer

          Integer numbers.

        • type
          Type: string
        • unavailable
          Type: boolean
        • unavailableReason
          Type: string
        • url
          Type: string
        • userName
          Type: string
        • verifiedType
          Type: string
        • withheldInCountries
          Type: array string[]
      • contents
        Type: array object[]
        • text
          Type: string
      • cover_media_img_url
        Type: string
      • createdAt
        Type: string
      • likeCount
        Type: integer

        Integer numbers.

      • preview_text
        Type: string
      • quoteCount
        Type: integer

        Integer numbers.

      • replyCount
        Type: integer

        Integer numbers.

      • title
        Type: string
      • viewCount
        Type: integer

        Integer numbers.

    • msg
      Type: string
    • status
      Type: string enum
      values
      • success
      • failed
    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/article
curl 'https://openapi.felo.ai/v1/beta/twitter/article?tweet_id=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "article": {
    "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"
              }
            ]
          }
        }
      }
    },
    "replyCount": 1,
    "likeCount": 1,
    "quoteCount": 1,
    "viewCount": 1,
    "createdAt": "string",
    "title": "string",
    "preview_text": "string",
    "cover_media_img_url": "string",
    "contents": [
      {
        "text": "string"
      }
    ]
  },
  "status": "success",
  "msg": "string"
}
Get Article