Отримати інформацію про спільноту за ID
Twitter / X
Query public users, posts, communities and trends.
Отримати інформацію про спільноту за ID
Повертає метадані спільноти X за її числовим ID спільноти — назву, опис, кількість учасників і правила доступу. Використовуйте, щоб оцінити спільноту перед отриманням її учасників або публікацій. Об'єкт повертається в community_info. Щоб знаходити спільноти за темою, шукайте їхні публікації через get_twitter_community_tweets_all.
Довідкові ціни
- Тарифікація: фіксована базова вартість успішного запиту.
- Довідкова оцінка запиту: USD 0.0002.
- Довідковий множник для клієнта: 1.0. Не застосовуйте його повторно до вже розрахованої суми клієнта.
Лише довідкові метадані, а не котирування для облікового запису, гарантована ціна чи ліміт витрат. Кредити ресурсів — це не кредити Felo. Остаточні списання здійснюються за записами білінгу Felo.
- Тип: stringcommunity
_id обов'язковеID спільноти
- Тип: object · Response8D25370A403A_CommunityInfoResponse200
Відповідь з інформацією про спільноту
- Тип: object · Response8D25370A403A_CommunityInfocommunity
_info - adminТип: object · Response8D25370A403A_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Тип: object
_bio - descriptionТип: string
- entitiesТип: object
- descriptionТип: object
- urlsТип: array object[]
- displayТип: string
_url - expandedТип: string
_url - indicesТип: array integer[]
- urlТип: string
- urlТип: object
- urlsТип: array object[]
- displayТип: string
_url - expandedТип: string
_url - indicesТип: array integer[]
- urlТип: string
- 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
- bannerТип: string | null
_url - createdТип: string | null
_at - creatorТип: object · Response8D25370A403A_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Тип: object
_bio - descriptionТип: string
- entitiesТип: object
- descriptionТип: object
- urlsТип: array object[]
- displayТип: string
_url - expandedТип: string
_url - indicesТип: array integer[]
- urlТип: string
- urlТип: object
- urlsТип: array object[]
- displayТип: string
_url - expandedТип: string
_url - indicesТип: array integer[]
- urlТип: string
- 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
- descriptionТип: string | null
- idТип: string | null
- invitesТип: string | null
_policy - isТип: boolean
_nsfw - isТип: boolean
_pinned - joinТип: string | null
_policy - memberТип: integer
_count Integer numbers.
- membersТип: array object[]
_preview Порожній об'єкт - moderatorТип: integer
_count Integer numbers.
- nameТип: string | null
- primaryТип: object
_topic - idТип: string | null
- nameТип: string | null
- questionТип: string | null
- roleТип: string | null
- rulesТип: array object[]
- descriptionТип: string
- idТип: string
- nameТип: string
- searchТип: array string[]
_tags
- Тип: stringmsg
- Тип: string перелікstatusзначення
- success
- error
application/json - 400
Не вдалося обробити запит. Перевірте параметри запиту.
- 401
Потрібен дійсний API-ключ Felo.
- 402
Запит неможливо виконати: умови білінгу не виконано.
- 403
Обліковий запис не має дозволу на цю операцію.
- 429
Досягнуто ліміту запитів або витрат.
- 502
Служба не змогла виконати запит.
- 503
API або служба білінгу тимчасово недоступні.
- 504
Час очікування обробки запиту вичерпано.
- default
Відповідь із помилкою; наскрізні відповіді апстріму можуть використовувати формати постачальника
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"
}