Twitter / X
Query public users, posts, communities and trends.
Lấy thông tin cộng đồng theo ID
Lấy siêu dữ liệu của một Cộng đồng X theo ID cộng đồng dạng số — tên, mô tả, số thành viên và quy tắc truy cập. Dùng để đánh giá cộng đồng trước khi lấy thành viên hoặc bài đăng. Trả về đối tượng trong community_info. Để khám phá cộng đồng theo chủ đề, hãy tìm kiếm bài đăng của họ bằng get_twitter_community_tweets_all.
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.0002.
- 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: stringcommunity
_id bắt buộcID của cộng đồng
- Kiểu: object · Response8D25370A403A_CommunityInfoResponse200
Phản hồi thông tin cộng đồng
- Kiểu: object · Response8D25370A403A_CommunityInfocommunity
_info - adminKiể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
- bannerKiểu: string | null
_url - createdKiểu: string | null
_at - creatorKiể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
- descriptionKiểu: string | null
- idKiểu: string | null
- invitesKiểu: string | null
_policy - isKiểu: boolean
_nsfw - isKiểu: boolean
_pinned - joinKiểu: string | null
_policy - memberKiểu: integer
_count Integer numbers.
- membersKiểu: array object[]
_preview Đối tượng rỗng - moderatorKiểu: integer
_count Integer numbers.
- nameKiểu: string | null
- primaryKiểu: object
_topic - idKiểu: string | null
- nameKiểu: string | null
- questionKiểu: string | null
- roleKiểu: string | null
- rulesKiểu: array object[]
- descriptionKiểu: string
- idKiểu: string
- nameKiểu: string
- searchKiểu: array string[]
_tags
- Kiểu: stringmsg
- Kiểu: string enumstatusgiá trị
- success
- error
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/info?community_id=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"community_info": {
"id": null,
"name": null,
"description": null,
"question": null,
"member_count": 1,
"moderator_count": 1,
"created_at": null,
"join_policy": null,
"invites_policy": null,
"is_nsfw": true,
"is_pinned": true,
"role": null,
"primary_topic": {
"id": null,
"name": null
},
"banner_url": null,
"search_tags": [
"string"
],
"rules": [
{
"id": "string",
"name": "string",
"description": "string"
}
],
"creator": {
"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"
}
]
}
}
}
},
"admin": {
"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"
}
]
}
}
}
},
"members_preview": [
{}
]
},
"status": "success",
"msg": "string"
}