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

Lấy người dùng đang theo dõi

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

Twitter / X

​

Query public users, posts, communities and trends.

Lấy người dùng đang theo dõi

​

Liệt kê các tài khoản mà một người dùng X nhất định đang theo dõi, được xác định bằng @handle. Trả về 200 mục mỗi trang cùng has_next_page và next_cursor. Dùng để suy ra sở thích, nguồn thông tin hoặc mạng lưới chuyên môn của người dùng — việc ai đó theo dõi ai thường là tín hiệu ý định mạnh hơn ai theo dõi họ. Với chiều ngược lại, dùng get_twitter_user_followers. Để kiểm tra một cặp cụ thể mà không phải phân trang qua hàng nghìn bản ghi, dùng get_twitter_user_check_follow_relationship.

Tham chiếu giá

  • Đo lường: Số lượng kết quả được đo lường.
  • Ước tính tham chiếu cho mỗi yêu cầu: USD 0.0036.
  • Cơ sở chi phí tối thiểu: USD 0.0006.
  • 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.
  • Cơ sở chi phí không xác lập giá cuối cùng cho khách hàng, kể cả khi bằng 0.

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
  • cursor
    Kiểu: string
  • userName
    Kiểu: string
Phản hồi
  • 200
    Kiểu: object · Response078307E096De_UserFollowingsResponse

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

    • code
      Kiểu: integer

      Integer numbers.

    • followings
      Kiểu: array object[] · Response078307E096De_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[]
    • has_next_page
      Kiểu: boolean
    • msg
      Kiểu: string
    • next_cursor
      Kiểu: string
    • status
      Kiểu: string enum
      giá trị
      • success
      • error
    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/user/followings
curl https://openapi.felo.ai/v1/beta/twitter/user/followings \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "followings": [
    {
      "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"
    }
  ],
  "has_next_page": true,
  "next_cursor": "string",
  "status": "success",
  "msg": "string",
  "code": 1
}
Get User Followings