Obtener información de la comunidad por ID
Twitter / X
Query public users, posts, communities and trends.
Obtener información de la comunidad por ID
Obtiene metadatos de una X Community por su ID numérico de comunidad: nombre, descripción, número de miembros y reglas de acceso. Úsalo para evaluar una comunidad antes de obtener sus miembros o publicaciones. Devuelve el objeto en community_info. Para descubrir comunidades por tema, busca sus publicaciones con get_twitter_community_tweets_all.
Referencia de precios
- Medición: base de costo fija por solicitud exitosa.
- Estimación de referencia por solicitud: USD 0.0002.
- Multiplicador de referencia del cliente: 1.0. No lo apliques de nuevo a un importe de cliente ya liquidado.
Solo metadatos de referencia, no una cotización de la cuenta, un precio garantizado ni un límite de gasto. Los créditos de recursos no son créditos de Felo. Los cargos finales se rigen por los registros de facturación de Felo.
- Tipo: stringcommunity
_id obligatorioID de la comunidad
- Tipo: object · Response8D25370A403A_CommunityInfoResponse200
Respuesta de información de la comunidad
- Tipo: object · Response8D25370A403A_CommunityInfocommunity
_info - adminTipo: object · Response8D25370A403A_User
- automatedTipo: string
By - canTipo: boolean
Dm - coverTipo: string
Picture - createdTipo: string
At - descriptionTipo: string
- favouritesTipo: integer
Count Integer numbers.
- followersTipo: integer
Integer numbers.
- followingTipo: integer
Integer numbers.
- hasTipo: boolean
Custom Timelines - idTipo: string
- isTipo: boolean
Automated - isTipo: boolean
Blue Verified - isTipo: boolean
Translator - locationTipo: string
- mediaTipo: integer
Count Integer numbers.
- messageTipo: string
- nameTipo: string
- pinnedTipo: array string[]
Tweet Ids - possiblyTipo: boolean
Sensitive - profileTipo: object
_bio - descriptionTipo: string
- entitiesTipo: object
- descriptionTipo: object
- urlsTipo: array object[]
- displayTipo: string
_url - expandedTipo: string
_url - indicesTipo: array integer[]
- urlTipo: string
- urlTipo: object
- urlsTipo: array object[]
- displayTipo: string
_url - expandedTipo: string
_url - indicesTipo: array integer[]
- urlTipo: string
- profileTipo: string
Picture - statusesTipo: integer
Count Integer numbers.
- typeTipo: string
- unavailableTipo: boolean
- unavailableTipo: string
Reason - urlTipo: string
- userTipo: string
Name - verifiedTipo: string
Type - withheldTipo: array string[]
In Countries
- bannerTipo: string | null
_url - createdTipo: string | null
_at - creatorTipo: object · Response8D25370A403A_User
- automatedTipo: string
By - canTipo: boolean
Dm - coverTipo: string
Picture - createdTipo: string
At - descriptionTipo: string
- favouritesTipo: integer
Count Integer numbers.
- followersTipo: integer
Integer numbers.
- followingTipo: integer
Integer numbers.
- hasTipo: boolean
Custom Timelines - idTipo: string
- isTipo: boolean
Automated - isTipo: boolean
Blue Verified - isTipo: boolean
Translator - locationTipo: string
- mediaTipo: integer
Count Integer numbers.
- messageTipo: string
- nameTipo: string
- pinnedTipo: array string[]
Tweet Ids - possiblyTipo: boolean
Sensitive - profileTipo: object
_bio - descriptionTipo: string
- entitiesTipo: object
- descriptionTipo: object
- urlsTipo: array object[]
- displayTipo: string
_url - expandedTipo: string
_url - indicesTipo: array integer[]
- urlTipo: string
- urlTipo: object
- urlsTipo: array object[]
- displayTipo: string
_url - expandedTipo: string
_url - indicesTipo: array integer[]
- urlTipo: string
- profileTipo: string
Picture - statusesTipo: integer
Count Integer numbers.
- typeTipo: string
- unavailableTipo: boolean
- unavailableTipo: string
Reason - urlTipo: string
- userTipo: string
Name - verifiedTipo: string
Type - withheldTipo: array string[]
In Countries
- descriptionTipo: string | null
- idTipo: string | null
- invitesTipo: string | null
_policy - isTipo: boolean
_nsfw - isTipo: boolean
_pinned - joinTipo: string | null
_policy - memberTipo: integer
_count Integer numbers.
- membersTipo: array object[]
_preview Objeto vacío - moderatorTipo: integer
_count Integer numbers.
- nameTipo: string | null
- primaryTipo: object
_topic - idTipo: string | null
- nameTipo: string | null
- questionTipo: string | null
- roleTipo: string | null
- rulesTipo: array object[]
- descriptionTipo: string
- idTipo: string
- nameTipo: string
- searchTipo: array string[]
_tags
- Tipo: stringmsg
- Tipo: string enumstatusvalores
- success
- error
application/json - 400
No se pudo procesar la solicitud. Comprueba los parámetros de la solicitud.
- 401
Se requiere una clave de API de Felo válida.
- 402
La solicitud no puede continuar porque no se cumple un requisito de facturación.
- 403
La cuenta no tiene permiso para realizar esta operación.
- 429
Se ha alcanzado un límite de solicitudes o de gasto.
- 502
El servicio no pudo completar la solicitud.
- 503
La API o el servicio de facturación no están disponibles temporalmente.
- 504
El servicio agotó el tiempo de espera al procesar la solicitud.
- default
Respuesta de error; las respuestas de paso del upstream pueden usar formatos del proveedor
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"
}