Twitter / X
Query public users, posts, communities and trends.
Tìm kiếm tweet từ tất cả cộng đồng
Tìm kiếm bài đăng trên tất cả Cộng đồng X theo từ khóa, sắp xếp theo Mới nhất (mặc định) hoặc Hàng đầu, phân trang bằng cursor. Dùng để tìm các thảo luận theo chủ đề diễn ra bên trong cộng đồng thay vì trên dòng thời gian công khai — mật độ tín hiệu thường cao hơn và nhiễu thấp hơn. Trả về đối tượng tweet đầy đủ. Khi xác định được cộng đồng đáng theo dõi, dùng get_twitter_community_tweets để đọc trực tiếp, hoặc get_twitter_community_info để lấy siêu dữ liệu. Để tìm kiếm trên dòng thời gian công khai, dùng get_twitter_tweet_advanced_search.
Tham chiếu giá
- Đo lường: Số lượng kết quả được đo lường.
- Ước tính tham chiếu cho mỗi yêu cầu: USD 0.003.
- Cơ sở chi phí tối thiểu: USD 0.00015.
- 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.
- Cơ sở chi phí không xác lập giá cuối cùng cho khách hàng, kể cả khi bằng 0.
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
Con trỏ phân trang
- Kiểu: stringquerybắt buộc
Truy vấn tìm kiếm (ví dụ: từ khóa)
- Kiểu: string enumquery
Type bắt buộcLoại truy vấn (Latest hoặc Top)
giá trị- Latest
- Top
- Kiểu: object200
Phản hồi tweet
- Kiểu: booleanhas
_next _page - Kiểu: stringnext
_cursor - Kiểu: array object[] · Response8D25370A403A_Tweet[]tweets
- authorKiểu: object · Response8D25370A403A_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: object
_bio - descriptionKiểu: string
- entitiesKiểu: object
- descriptionKiểu: object
- urlsKiểu: array object[]
- displayKiểu: string
_url - expandedKiểu: string
_url - indicesKiểu: array integer[]
- urlKiểu: string
- urlKiểu: object
- urlsKiểu: array object[]
- displayKiểu: string
_url - expandedKiểu: string
_url - indicesKiểu: array integer[]
- urlKiểu: string
- 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
- bookmarkKiểu: integer
Count Integer numbers.
- conversationKiểu: string
Id - createdKiểu: string
At - displayKiểu: array integer[]
Text Range - entitiesKiểu: object
- hashtagsKiểu: array object[]
- indicesKiểu: array integer[]
- textKiểu: string
- urlsKiểu: array object[]
- displayKiểu: string
_url - expandedKiểu: string
_url - indicesKiểu: array integer[]
- urlKiểu: string
- userKiểu: array object[]
_mentions - idKiểu: string
_str - nameKiểu: string
- screenKiểu: string
_name
- idKiểu: string
- inKiểu: string
Reply To Id - inKiểu: string
Reply To User Id - inKiểu: string
Reply To Username - isKiểu: boolean
Limited Reply - isKiểu: boolean
Reply - langKiểu: string
- likeKiểu: integer
Count Integer numbers.
- quoteKiểu: integer
Count Integer numbers.
- quotedKiểu: string
_tweet - replyKiểu: integer
Count Integer numbers.
- retweetKiểu: integer
Count Integer numbers.
- retweetedKiểu: string
_tweet - sourceKiểu: string
- textKiểu: string
- typeKiểu: string
- urlKiểu: string
- 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/community/get_tweets_from_all_community?query=&queryType=Latest' \
--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",
"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"
}
]
}
}
}
},
"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
}
],
"has_next_page": true,
"next_cursor": "string"
}