Twitter / X
Query public users, posts, communities and trends.
Ottieni tweet per ID
Recupera il contenuto completo di tweet specifici quando conosci già i loro ID tweet numerici (accetta più ID in un'unica chiamata). Usalo per espandere in oggetti completi gli ID emersi da ricerche, timeline o risposte. Restituisce testo, autore, client di origine, lingua, data di creazione e conteggi di engagement (like, retweet, risposte, citazioni, segnalibri, visualizzazioni). Se non hai ancora gli ID, inizia con get_twitter_tweet_advanced_search.
Riferimento prezzi
- Misurazione: numero di risultati misurato.
- Stima di riferimento per richiesta: USD 0.0075.
- Base di costo minima: USD 0.00015.
- Moltiplicatore di riferimento per il cliente: 1.0. Non applicarlo di nuovo a un importo già addebitato al cliente.
- Le basi di costo non determinano il prezzo finale per il cliente, anche quando sono zero.
Solo metadati di riferimento, non un preventivo dell'account né un prezzo o un limite di spesa garantito. I crediti delle risorse non sono crediti Felo. Gli addebiti finali seguono le registrazioni di fatturazione Felo.
- Tipo: stringtweet
_ids
- Tipo: object200
Risposta riuscita
- Tipo: integercode
Integer numbers.
- Tipo: stringmsg
- Tipo: stringstatus
- Tipo: array object[] · ResponseD824635D04Cf_Tweet[]tweets
- 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
Impossibile elaborare la richiesta. Controlla i parametri della richiesta.
- 401
È richiesta una chiave API Felo valida.
- 402
Impossibile procedere con la richiesta perché non è soddisfatto un requisito di fatturazione.
- 403
L'account non è autorizzato a eseguire questa operazione.
- 429
È stato raggiunto un limite di richieste o di spesa.
- 502
Il servizio non è riuscito a completare la richiesta.
- 503
L'API o il servizio di fatturazione è temporaneamente non disponibile.
- 504
Si è verificato un timeout durante l'elaborazione della richiesta.
- default
Risposta di errore; le risposte passthrough upstream possono usare formati del provider
application/json
curl https://openapi.felo.ai/v1/beta/twitter/tweets \
--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"
},
"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
}
],
"status": "string",
"msg": "string",
"code": 1
}