Twitter / X
Query public users, posts, communities and trends.
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.
- Kiểu: stringtweet
_id
- Kiểu: object · ResponseCbc4F8806E32_ArticleResponse200
Phản hồi thành công
- Kiểu: object · ResponseCbc4F8806E32_Articlearticle
- authorKiểu: object · ResponseCbc4F8806E32_User
- automatedKiểu: string
By - canKiểu: boolean
Dm - coverKiểu: string
Picture - createdKiểu: string
At - descriptionKiểu: string
- favouritesKiểu: integer
Count Integer numbers.
- followersKiểu: integer
Integer numbers.
- followingKiểu: integer
Integer numbers.
- hasKiểu: boolean
Custom Timelines - idKiểu: string
- isKiểu: boolean
Automated - isKiểu: boolean
Blue Verified - isKiểu: boolean
Translator - locationKiểu: string
- mediaKiểu: integer
Count Integer numbers.
- messageKiểu: string
- nameKiểu: string
- pinnedKiểu: array string[]
Tweet Ids - possiblyKiểu: boolean
Sensitive - profileKiểu: string
Picture - statusesKiểu: integer
Count Integer numbers.
- typeKiểu: string
- unavailableKiểu: boolean
- unavailableKiểu: string
Reason - urlKiểu: string
- userKiểu: string
Name - verifiedKiểu: string
Type - withheldKiểu: array string[]
In Countries
- contentsKiểu: array object[]
- textKiểu: string
- coverKiểu: string
_media _img _url - createdKiểu: string
At - likeKiểu: integer
Count Integer numbers.
- previewKiểu: string
_text - quoteKiểu: integer
Count Integer numbers.
- replyKiểu: integer
Count Integer numbers.
- titleKiểu: string
- viewKiểu: integer
Count Integer numbers.
- Kiểu: stringmsg
- Kiểu: string enumstatusgiá 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
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"
}