Twitter / X
Query public users, posts, communities and trends.
Lấy dòng thời gian tweet của danh sách
Lấy dòng thời gian tweet của một Danh sách X theo listId, tối đa 20 mỗi trang, phân trang bằng cursor. Trả về tweet cùng has_next_page và next_cursor. Để xem ai nằm trong Danh sách, dùng get_twitter_list_members.
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.0015.
- 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: stringcursor
- Kiểu: stringlist
Id
- Kiểu: object · ResponseA06878E34984_ListTweetsTimelineResponse200
Phản hồi dòng thời gian tweet của danh sách
- Kiểu: booleanhas
_next _page Cho biết có thêm kết quả khả dụng hay không
- Kiểu: stringmsg
Thông điệp của yêu cầu, thông điệp lỗi nếu trạng thái là error
- Kiểu: stringnext
_cursor Con trỏ để lấy trang kết quả tiếp theo
- Kiểu: string enumstatus
Trạng thái của yêu cầu
giá trị- success
- error
- Kiểu: array object[] · ResponseA06878E34984_Tweet[]tweets
Mảng tweet từ danh sách
- authorKiểu: object · ResponseA06878E34984_TwitterUser
- automatedKiểu: string
By Cho biết ai đã tự động hóa tài khoản
- canKiểu: boolean
Dm Cho biết người dùng có thể nhận tin nhắn trực tiếp hay không
- coverKiểu: string
Picture URL ảnh bìa
- createdKiểu: string
At Ngày tạo tài khoản
- descriptionKiểu: string
Mô tả của người dùng
- favouritesKiểu: integer
Count Số lượt yêu thích
- followersKiểu: integer
Số người theo dõi
- followingKiểu: integer
Số tài khoản đang theo dõi
- hasKiểu: boolean
Custom Timelines Cho biết người dùng có dòng thời gian tùy chỉnh hay không
- idKiểu: string
ID của người dùng
- isKiểu: boolean
Automated Cho biết tài khoản có được tự động hóa hay không
- isKiểu: boolean
Blue Verified Cho biết người dùng có được xác minh tích xanh hay không
- isKiểu: boolean
Translator Cho biết người dùng có phải là người dịch hay không
- locationKiểu: string
Vị trí của người dùng
- mediaKiểu: integer
Count Số mục phương tiện
- messageKiểu: string
Thông điệp về tài khoản
- nameKiểu: string
Tên của người dùng
- pinnedKiểu: array string[]
Tweet Ids Danh sách ID tweet được ghim
- possiblyKiểu: boolean
Sensitive Cho biết người dùng có nội dung nhạy cảm hay không
- profileKiểu: object
_bio - descriptionKiểu: string
Mô tả tiểu sử
- entitiesKiểu: object
- descriptionKiểu: object
- urlsKiểu: array object[] · ResponseA06878E34984_TwitterUrl[]
- displayKiểu: string
_url URL hiển thị
- expandedKiểu: string
_url URL mở rộng
- indicesKiểu: array integer[]
Các chỉ số của URL
- urlKiểu: string
URL
- urlKiểu: object
- urlsKiểu: array object[] · ResponseA06878E34984_TwitterUrl[]
- displayKiểu: string
_url URL hiển thị
- expandedKiểu: string
_url URL mở rộng
- indicesKiểu: array integer[]
Các chỉ số của URL
- urlKiểu: string
URL
- profileKiểu: string
Picture URL ảnh hồ sơ
- statusesKiểu: integer
Count Số lượng trạng thái
- typeKiểu: string
Loại người dùng
- unavailableKiểu: boolean
Cho biết tài khoản có không khả dụng hay không
- unavailableKiểu: string
Reason Lý do không khả dụng
- urlKiểu: string
URL hồ sơ của người dùng
- userKiểu: string
Name Tên người dùng
- verifiedKiểu: string
Type Loại xác minh
- withheldKiểu: array string[]
In Countries Danh sách các quốc gia nơi người dùng bị hạn chế
- bookmarkKiểu: integer
Count Integer numbers.
- conversationKiểu: string
Id - createdKiểu: string
At Ngày và giờ tweet được tạo
- idKiểu: string
ID của tweet
- inKiểu: string
Reply To Id - inKiểu: string
Reply To User Id - inKiểu: string
Reply To Username - isKiểu: boolean
Reply - langKiểu: string
Ngôn ngữ của tweet
- likeKiểu: integer
Count Integer numbers.
- quoteKiểu: integer
Count Integer numbers.
- replyKiểu: integer
Count Integer numbers.
- retweetKiểu: integer
Count Integer numbers.
- sourceKiểu: string
Ứng dụng nguồn của tweet
- textKiểu: string
Nội dung văn bản của tweet
- typeKiểu: string
- urlKiểu: string
URL của tweet
- viewKiểu: integer
Count Integer numbers.
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/list/tweets_timeline \
--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",
"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",
"profile_bio": {
"description": "string",
"entities": {
"description": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
},
"url": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
}
}
}
}
}
],
"has_next_page": true,
"next_cursor": "string",
"status": "success",
"msg": "string"
}