Twitter / X
Query public users, posts, communities and trends.
Obter respostas de tweets
Obtém as respostas diretas de um tweet, com paginação por cursor. Use para ler a discussão abaixo de um post — sentimento, correções ou perguntas de acompanhamento. Retorna objetos completos de tweet com contagens de engajamento. Prefira get_twitter_tweet_replies_v2 quando quiser controlar a ordenação (Relevance, Latest ou Likes); este endpoint v1 retorna apenas a ordem padrão. Para seguir uma conversa para cima até a raiz, em vez de para baixo, use get_twitter_tweet_thread_context.
Referência de preços
- Medição: contagem de resultados medidos.
- Estimativa de referência por requisição: USD 0.01335.
- 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: stringcursor
- Tipo: stringtweet
Id
- Tipo: object200
Resposta bem-sucedida
- Tipo: booleanhas
_next _page - Tipo: stringmsg
- Tipo: stringnext
_cursor - Tipo: stringstatus
- Tipo: array object[] · ResponseD824635D04Cf_Tweet[]tweets
Array de tweets de resposta.
- authorTipo: object · ResponseD824635D04Cf_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: 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/tweet/replies \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"has_next_page": true,
"next_cursor": "string",
"status": "string",
"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"
},
"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
}
],
"msg": "string"
}