Twitter / X
Query public users, posts, communities and trends.
Obtener tweets de la comunidad
Obtiene las publicaciones publicadas dentro de una X Community concreta, con paginación por cursor. Úsalo para leer qué está debatiendo realmente una comunidad conocida. Devuelve objetos de tweet completos con recuentos de interacción. Si no sabes qué comunidad consultar, busca en todas con get_twitter_community_tweets_all.
Referencia de precios
- Medición: recuento de resultados medidos.
- Estimación de referencia por solicitud: USD 0.003.
- Base de costo mínima: USD 0.00015.
- Multiplicador de referencia del cliente: 1.0. No lo apliques de nuevo a un importe de cliente ya liquidado.
- Las bases de costo no determinan el precio final del cliente, incluso cuando son cero.
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: stringcursor
Cursor de paginación
- Tipo: object200
Respuesta de tweets de la comunidad
- Tipo: booleanhas
_next - Tipo: booleanhas
_next _page - Tipo: stringmsg
- Tipo: stringnext
_cursor - Tipo: string enumstatusvalores
- success
- error
- Tipo: array object[] · Response8D25370A403A_Tweet[]tweets
- authorTipo: 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
- bookmarkTipo: integer
Count Integer numbers.
- conversationTipo: string
Id - createdTipo: string
At - displayTipo: array integer[]
Text Range - entitiesTipo: object
- hashtagsTipo: array object[]
- indicesTipo: array integer[]
- textTipo: string
- urlsTipo: array object[]
- displayTipo: string
_url - expandedTipo: string
_url - indicesTipo: array integer[]
- urlTipo: string
- userTipo: array object[]
_mentions - idTipo: string
_str - nameTipo: string
- screenTipo: string
_name
- idTipo: string
- inTipo: string
Reply To Id - inTipo: string
Reply To User Id - inTipo: string
Reply To Username - isTipo: boolean
Limited Reply - isTipo: boolean
Reply - langTipo: string
- likeTipo: integer
Count Integer numbers.
- quoteTipo: integer
Count Integer numbers.
- quotedTipo: string
_tweet - replyTipo: integer
Count Integer numbers.
- retweetTipo: integer
Count Integer numbers.
- retweetedTipo: string
_tweet - sourceTipo: string
- textTipo: string
- typeTipo: string
- urlTipo: string
- viewTipo: integer
Count Integer numbers.
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/tweets?community_id=' \
--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",
"has_next": true,
"status": "success",
"msg": "string"
}