Twitter / X
Query public users, posts, communities and trends.
ดึงทวีตตาม ID
ดึงเนื้อหาเต็มของทวีตที่ระบุเมื่อทราบ ID ทวีตที่เป็นตัวเลขแล้ว (รับหลาย ID ในการเรียกครั้งเดียว) ใช้เพื่อขยาย ID ที่พบจาก search, timeline หรือ replies ให้เป็นออบเจ็กต์ที่สมบูรณ์ คืนข้อความ ผู้เขียน ไคลเอนต์ต้นทาง ภาษา เวลาสร้าง และจำนวนการมีส่วนร่วม (ไลก์ รีทวีต การตอบกลับ การอ้างอิง บุ๊กมาร์ก ยอดดู) หากยังไม่มี ID ให้เริ่มด้วย get_twitter_tweet_advanced_search
ข้อมูลอ้างอิงราคา
- การวัดปริมาณการใช้งาน: จำนวนผลลัพธ์ที่คิดตามการวัด
- ค่าประมาณคำขออ้างอิง: USD 0.0075
- ต้นทุนขั้นต่ำ: USD 0.00015
- ตัวคูณอ้างอิงสำหรับลูกค้า: 1.0 ห้ามนำไปใช้ซ้ำกับยอดที่เรียกเก็บจากลูกค้าแล้ว
- ต้นทุนพื้นฐานไม่ได้กำหนดราคาสุดท้ายของลูกค้า รวมถึงกรณีที่เป็นศูนย์
เป็นข้อมูลเมตาอ้างอิงเท่านั้น ไม่ใช่ใบเสนอราคาสำหรับบัญชี ไม่ใช่ราคาที่รับประกัน และไม่ใช่เพดานการใช้จ่าย เครดิตของทรัพยากรไม่ใช่เครดิต Felo ยอดเรียกเก็บขั้นสุดท้ายเป็นไปตามบันทึกการเรียกเก็บเงินของ Felo
- ประเภท: stringtweet
_ids
- ประเภท: object200
การตอบกลับสำเร็จ
- ประเภท: integercode
Integer numbers.
- ประเภท: stringmsg
- ประเภท: stringstatus
- ประเภท: array object[] · ResponseD824635D04Cf_Tweet[]tweets
- authorประเภท: object · ResponseD824635D04Cf_User
- 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
- bookmarkประเภท: integer
Count Integer numbers.
- conversationประเภท: string
Id - createdประเภท: string
At - displayประเภท: array integer[]
Text Range - entitiesประเภท: object
- hashtagsประเภท: array object[]
- indicesประเภท: array integer[]
- textประเภท: string
- urlsประเภท: array object[]
- displayประเภท: string
_url - expandedประเภท: string
_url - indicesประเภท: array integer[]
- urlประเภท: string
- userประเภท: array object[]
_mentions - idประเภท: string
_str - nameประเภท: string
- screenประเภท: string
_name
- idประเภท: string
- inประเภท: string
Reply To Id - inประเภท: string
Reply To User Id - inประเภท: string
Reply To Username - isประเภท: boolean
Limited Reply - isประเภท: boolean
Reply - langประเภท: string
- likeประเภท: integer
Count Integer numbers.
- quoteประเภท: integer
Count Integer numbers.
- quotedประเภท: string
_tweet - replyประเภท: integer
Count Integer numbers.
- retweetประเภท: integer
Count Integer numbers.
- retweetedประเภท: string
_tweet - sourceประเภท: string
- textประเภท: string
- typeประเภท: string
- urlประเภท: string
- viewประเภท: integer
Count Integer numbers.
application/json - 400
ไม่สามารถประมวลผลคำขอได้ ตรวจสอบพารามิเตอร์ของคำขอ
- 401
จำเป็นต้องใช้คีย์ API ของ Felo ที่ถูกต้อง
- 402
ไม่สามารถดำเนินการตามคำขอได้ เนื่องจากไม่เป็นไปตามข้อกำหนดด้านการเรียกเก็บเงิน
- 403
บัญชีไม่ได้รับอนุญาตให้ดำเนินการนี้
- 429
ถึงขีดจำกัดคำขอหรือการใช้จ่ายแล้ว
- 502
บริการไม่สามารถดำเนินการตามคำขอให้เสร็จสิ้นได้
- 503
API หรือบริการเรียกเก็บเงินไม่พร้อมใช้งานชั่วคราว
- 504
บริการหมดเวลาระหว่างประมวลผลคำขอ
- default
การตอบกลับข้อผิดพลาด; การตอบกลับที่ส่งผ่านจากต้นทางอาจใช้รูปแบบของผู้ให้บริการ
application/json
curl https://openapi.felo.ai/v1/beta/twitter/tweets \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"tweets": [
{
"type": "string",
"id": "string",
"url": "string",
"text": "string",
"source": "string",
"retweetCount": 1,
"replyCount": 1,
"likeCount": 1,
"quoteCount": 1,
"viewCount": 1,
"createdAt": "string",
"lang": "string",
"bookmarkCount": 1,
"isReply": true,
"inReplyToId": "string",
"conversationId": "string",
"displayTextRange": [
1
],
"inReplyToUserId": "string",
"inReplyToUsername": "string",
"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"
},
"entities": {
"hashtags": [
{
"indices": [
1
],
"text": "string"
}
],
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
],
"user_mentions": [
{
"id_str": "string",
"name": "string",
"screen_name": "string"
}
]
},
"quoted_tweet": "string",
"retweeted_tweet": "string",
"isLimitedReply": true
}
],
"status": "string",
"msg": "string",
"code": 1
}