Felo API PlatformFelo API Platform
endpoint ทั้งหมดของ X
v0.2.0-beta
OpenAPI 3.1.0

ดึงข้อมูลผู้ใช้แบบกลุ่มตาม UserID

เซิร์ฟเวอร์:https://openapi.felo.ai
ไลบรารีไคลเอนต์

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X การดำเนินการ

ดึงข้อมูลผู้ใช้แบบกลุ่มตาม UserID

​

แปลงผู้ใช้ X จำนวนมากในครั้งเดียวจาก ID ผู้ใช้ที่เป็นตัวเลข ซึ่งส่งเป็นสตริง userIds คั่นด้วยจุลภาค ใช้เมื่อการเรียกก่อนหน้า (ไทม์ไลน์ ผู้รีทวีต ผู้ติดตาม) ให้ ID มา และคุณต้องแปลงเป็นโปรไฟล์เต็มในการเรียกครั้งเดียวแทนการวนลูป คืนอาร์เรย์ของออบเจ็กต์ผู้ใช้ภายใต้ users โปรดทราบว่า endpoint นี้รับ ID ตัวเลข ไม่ใช่ @handles — หากต้องการค้นหาด้วย handle ให้ใช้ get_twitter_user_info

ข้อมูลอ้างอิงราคา

  • การวัดปริมาณการใช้งาน: สูตรตามจำนวนคำขอ
  • ค่าประมาณคำขออ้างอิง: USD 0.00018
  • ตัวคูณอ้างอิงสำหรับลูกค้า: 1.0 ห้ามนำไปใช้ซ้ำกับยอดที่เรียกเก็บจากลูกค้าแล้ว

เป็นข้อมูลเมตาอ้างอิงเท่านั้น ไม่ใช่ใบเสนอราคาสำหรับบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตของทรัพยากรไม่ใช่เครดิต Felo ยอดเรียกเก็บขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo

พารามิเตอร์ในคิวรี
  • userIds
    ประเภท: string
    จำเป็น

    ตัวคั่นรายการ: , รายการที่คั่นได้สูงสุด 100000 รายการ อย่างน้อย 1 รายการ

การตอบกลับ
  • 200
    ประเภท: object · ResponseB5Ae154C25F3_BatchUserInfoResponse

    ข้อมูลผู้ใช้แบบกลุ่ม

    • msg
      ประเภท: string
    • status
      ประเภท: string enum
      ค่า
      • success
      • error
    • users
      ประเภท: array object[]
      • 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[]
    application/json
  • 400

    ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ

  • 401

    จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง

  • 402

    ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน

  • 403

    บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้

  • 429

    ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว

  • 502

    บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้

  • 503

    API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว

  • 504

    บริการหมดเวลาระหว่างประมวลผลคำขอ

  • default

    การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ

    application/json
Request Example for get/v1/beta/twitter/user/batch_info_by_ids
curl 'https://openapi.felo.ai/v1/beta/twitter/user/batch_info_by_ids?userIds=example' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "users": [
    {
      "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"
    }
  ],
  "status": "success",
  "msg": "string"
}
Batch Get User Info By UserIds