Felo API PlatformFelo API Platform
Tất cả endpoint của X
v0.2.0-beta
OpenAPI 3.1.0

Lấy bài viết

Máy chủ:https://openapi.felo.ai
Thư viện client

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Thao tác

Lấy bài viết

​

Lấy toàn bộ nội dung của một Bài viết X (bài đăng dài) theo ID tweet. Dùng khi một tweet liên kết đến hoặc chính là một Bài viết và bản xem trước 280 ký tự không đủ — endpoint trả về văn bản đầy đủ thay vì tweet bị cắt ngắn. Trả về bài viết trong article. Với tweet thông thường, dùng get_twitter_tweets.

Tham chiếu giá

  • Đo lường: Cơ sở chi phí cố định theo yêu cầu thành công.
  • Ước tính tham chiếu cho mỗi yêu cầu: USD 0.001.
  • Hệ số khách hàng tham chiếu: 1.0. Không áp dụng lại cho số tiền khách hàng đã quyết toán.

Chỉ là siêu dữ liệu tham chiếu, không phải báo giá cho tài khoản, mức giá được bảo đảm hay hạn mức chi tiêu. Tín dụng tài nguyên không phải tín dụng Felo. Khoản phí cuối cùng tuân theo bản ghi thanh toán của Felo.

Tham số truy vấn
  • tweet_id
    Kiểu: string
Phản hồi
  • 200
    Kiểu: object · ResponseCbc4F8806E32_ArticleResponse

    Phản hồi thành công

    • article
      Kiểu: object · ResponseCbc4F8806E32_Article
      • author
        Kiểu: object · ResponseCbc4F8806E32_User
        • automatedBy
          Kiểu: string
        • canDm
          Kiểu: boolean
        • coverPicture
          Kiểu: string
        • createdAt
          Kiểu: string
        • description
          Kiểu: string
        • favouritesCount
          Kiểu: integer

          Integer numbers.

        • followers
          Kiểu: integer

          Integer numbers.

        • following
          Kiểu: integer

          Integer numbers.

        • hasCustomTimelines
          Kiểu: boolean
        • id
          Kiểu: string
        • isAutomated
          Kiểu: boolean
        • isBlueVerified
          Kiểu: boolean
        • isTranslator
          Kiểu: boolean
        • location
          Kiểu: string
        • mediaCount
          Kiểu: integer

          Integer numbers.

        • message
          Kiểu: string
        • name
          Kiểu: string
        • pinnedTweetIds
          Kiểu: array string[]
        • possiblySensitive
          Kiểu: boolean
        • profilePicture
          Kiểu: string
        • statusesCount
          Kiểu: integer

          Integer numbers.

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

        Integer numbers.

      • preview_text
        Kiểu: string
      • quoteCount
        Kiểu: integer

        Integer numbers.

      • replyCount
        Kiểu: integer

        Integer numbers.

      • title
        Kiểu: string
      • viewCount
        Kiểu: integer

        Integer numbers.

    • msg
      Kiểu: string
    • status
      Kiểu: string enum
      giá trị
      • success
      • failed
    application/json
  • 400

    Không thể xử lý yêu cầu. Hãy kiểm tra các tham số yêu cầu.

  • 401

    Cần có khóa API Felo hợp lệ.

  • 402

    Không thể tiếp tục yêu cầu vì chưa đáp ứng yêu cầu thanh toán.

  • 403

    Tài khoản không được phép thực hiện thao tác này.

  • 429

    Đã đạt giới hạn yêu cầu hoặc giới hạn chi tiêu.

  • 502

    Dịch vụ không thể hoàn tất yêu cầu.

  • 503

    API hoặc dịch vụ thanh toán tạm thời không khả dụng.

  • 504

    Dịch vụ đã hết thời gian chờ khi xử lý yêu cầu.

  • default

    Phản hồi lỗi; phản hồi chuyển tiếp từ thượng nguồn có thể dùng định dạng của nhà cung cấp

    application/json
Request Example for get/v1/beta/twitter/article
curl https://openapi.felo.ai/v1/beta/twitter/article \
  --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"
    },
    "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