Twitter / X
Query public users, posts, communities and trends.
ดึงข้อมูลผู้ใช้แบบกลุ่มตาม UserID
แปลงผู้ใช้ X จำนวนมากในครั้งเดียวจาก ID ผู้ใช้ที่เป็นตัวเลข ซึ่งส่งเป็นสตริง userIds คั่นด้วยจุลภาค ใช้เมื่อการเรียกก่อนหน้า (ไทม์ไลน์ ผู้รีทวีต ผู้ติดตาม) ให้ ID มา และคุณต้องแปลงเป็นโปรไฟล์เต็มในการเรียกครั้งเดียวแทนการวนลูป คืนอาร์เรย์ของออบเจ็กต์ผู้ใช้ภายใต้ users โปรดทราบว่า endpoint นี้รับ ID ตัวเลข ไม่ใช่ @handles — หากต้องการค้นหาด้วย handle ให้ใช้ get_twitter_user_info
ข้อมูลอ้างอิงราคา
- การวัดปริมาณการใช้งาน: สูตรตามจำนวนคำขอ
- ค่าประมาณคำขออ้างอิง: USD 0.00018
- ตัวคูณอ้างอิงสำหรับลูกค้า: 1.0 ห้ามนำไปใช้ซ้ำกับยอดที่เรียกเก็บจากลูกค้าแล้ว
เป็นข้อมูลเมตาอ้างอิงเท่านั้น ไม่ใช่ใบเสนอราคาสำหรับบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตของทรัพยากรไม่ใช่เครดิต Felo ยอดเรียกเก็บขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo
- ประเภท: stringuser
Ids จำเป็นตัวคั่นรายการ:
,รายการที่คั่นได้สูงสุด 100000 รายการ อย่างน้อย 1 รายการ
- ประเภท: object · ResponseB5Ae154C25F3_BatchUserInfoResponse200
ข้อมูลผู้ใช้แบบกลุ่ม
- ประเภท: stringmsg
- ประเภท: string enumstatusค่า
- success
- error
- ประเภท: array object[]users
- automatedประเภท: string
By - canประเภท: boolean
Dm - coverประเภท: string
Picture - createdประเภท: string
At - descriptionประเภท: string
- favouritesประเภท: integer
Count Integer numbers.
- followersประเภท: integer
Integer numbers.
- followingประเภท: integer
Integer numbers.
- hasประเภท: boolean
Custom Timelines - idประเภท: string
- isประเภท: boolean
Automated - isประเภท: boolean
Blue Verified - isประเภท: boolean
Translator - locationประเภท: string
- mediaประเภท: integer
Count Integer numbers.
- messageประเภท: string
- nameประเภท: string
- pinnedประเภท: array string[]
Tweet Ids - possiblyประเภท: boolean
Sensitive - profileประเภท: string
Picture - statusesประเภท: integer
Count Integer numbers.
- typeประเภท: string
- unavailableประเภท: boolean
- unavailableประเภท: string
Reason - urlประเภท: string
- userประเภท: string
Name - verifiedประเภท: string
Type - withheldประเภท: array string[]
In Countries
application/json - 400
ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ
- 401
จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง
- 402
ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน
- 403
บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้
- 429
ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว
- 502
บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้
- 503
API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว
- 504
บริการหมดเวลาระหว่างประมวลผลคำขอ
- default
การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ
application/json
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"
}