Twitter / X
Query public users, posts, communities and trends.
Obter tweets da comunidade
Obtém posts publicados dentro de uma X Community específica, com paginação por cursor. Use para ler o que uma comunidade conhecida está discutindo de fato. Retorna objetos completos de tweet com contagens de engajamento. Se você não souber qual comunidade observar, pesquise em todas com get_twitter_community_tweets_all.
Referência de preços
- Medição: contagem de resultados medidos.
- Estimativa de referência por requisição: USD 0.003.
- Base de custo mínima: USD 0.00015.
- Multiplicador de referência do cliente: 1.0. Não o aplique novamente a um valor de cliente já liquidado.
- As bases de custo não definem o preço final do cliente, inclusive quando forem zero.
Apenas metadados de referência, não uma cotação da conta, um preço garantido ou um limite de gastos. Créditos de recursos não são créditos Felo. As cobranças finais seguem os registros de cobrança da Felo.
- Tipo: stringcommunity
_id obrigatórioID da comunidade
- Tipo: stringcursor
Cursor de paginação
- Tipo: object200
Resposta de tweets da comunidade
- 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
Não foi possível processar a requisição. Verifique os parâmetros da requisição.
- 401
É necessária uma chave de API da Felo válida.
- 402
A requisição não pode prosseguir porque um requisito de cobrança não foi atendido.
- 403
A conta não tem permissão para realizar esta operação.
- 429
Um limite de requisições ou de gastos foi atingido.
- 502
O serviço não pôde concluir a requisição.
- 503
A API ou o serviço de cobrança está temporariamente indisponível.
- 504
O serviço atingiu o tempo limite ao processar a requisição.
- default
Resposta de erro; respostas repassadas do upstream podem usar formatos do provedor
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"
}