Twitter / X
Query public users, posts, communities and trends.
Thread-Kontext eines Tweets abrufen
Rekonstruiert die Konversation rund um einen Tweet. Akzeptiert entweder eine Antwort oder einen ursprünglichen Tweet und gibt den umgebenden Thread zurück, cursorbasiert paginiert. Nutzen Sie dies, wenn einem Tweet der Kontext fehlt und Sie die übergeordnete Kette benötigen, um ihn richtig zu interpretieren. Gibt Tweets unter tweets mit has_next_page und next_cursor zurück. Nur für die Antworten unter einem Beitrag verwenden Sie get_twitter_tweet_replies_v2.
Preisreferenz
- Abrechnung: Abrechnete Ergebnisanzahl.
- Referenzschätzung pro Anfrage: USD 0.00555.
- Mindestkostenbasis: USD 0.00015.
- Referenz-Kundenmultiplikator: 1.0. Nicht erneut auf bereits abgerechnete Kundenbeträge anwenden.
- Kostenbasen legen den endgültigen Kundenpreis nicht fest, auch nicht bei null.
Nur Referenzmetadaten, kein Kontenangebot, kein garantierter Preis und keine Ausgabenobergrenze. Ressourcen-Credits sind keine Felo-Credits. Endgültige Abrechnungen richten sich nach den Felo-Abrechnungsbelegen.
- Typ: stringcursor
- Typ: stringtweet
Id
- Typ: object · ResponseCbc4F8806E32_TweetThreadContextResponse200
Erfolgreiche Antwort
- Typ: booleanhas
_next _page - Typ: stringmsg
- Typ: stringnext
_cursor - Typ: string enumstatusWerte
- success
- error
- Typ: array object[] · ResponseCbc4F8806E32_Tweet[]tweets
- authorTyp: object · ResponseCbc4F8806E32_User
- automatedTyp: string
By - canTyp: boolean
Dm - coverTyp: string
Picture - createdTyp: string
At - descriptionTyp: string
- favouritesTyp: integer
Count Integer numbers.
- followersTyp: integer
Integer numbers.
- followingTyp: integer
Integer numbers.
- hasTyp: boolean
Custom Timelines - idTyp: string
- isTyp: boolean
Automated - isTyp: boolean
Blue Verified - isTyp: boolean
Translator - locationTyp: string
- mediaTyp: integer
Count Integer numbers.
- messageTyp: string
- nameTyp: string
- pinnedTyp: array string[]
Tweet Ids - possiblyTyp: boolean
Sensitive - profileTyp: string
Picture - statusesTyp: integer
Count Integer numbers.
- typeTyp: string
- unavailableTyp: boolean
- unavailableTyp: string
Reason - urlTyp: string
- userTyp: string
Name - verifiedTyp: string
Type - withheldTyp: array string[]
In Countries
- bookmarkTyp: integer
Count Integer numbers.
- conversationTyp: string
Id - createdTyp: string
At - displayTyp: array integer[]
Text Range - entitiesTyp: object · ResponseCbc4F8806E32_Entities
- hashtagsTyp: array object[]
- indicesTyp: array integer[]
- textTyp: string
- urlsTyp: array object[]
- displayTyp: string
_url - expandedTyp: string
_url - indicesTyp: array integer[]
- urlTyp: string
- userTyp: array object[]
_mentions - idTyp: string
_str - nameTyp: string
- screenTyp: string
_name
- idTyp: string
- inTyp: string
Reply To Id - inTyp: string
Reply To User Id - inTyp: string
Reply To Username - isTyp: boolean
Limited Reply - isTyp: boolean
Reply - langTyp: string
- likeTyp: integer
Count Integer numbers.
- quoteTyp: integer
Count Integer numbers.
- quotedTyp: string
_tweet - replyTyp: integer
Count Integer numbers.
- retweetTyp: integer
Count Integer numbers.
- retweetedTyp: string
_tweet - sourceTyp: string
- textTyp: string
- typeTyp: string
- urlTyp: string
- viewTyp: integer
Count Integer numbers.
application/json - 400
Die Anfrage konnte nicht verarbeitet werden. Prüfen Sie die Anfrageparameter.
- 401
Ein gültiger Felo-API-Schlüssel ist erforderlich.
- 402
Die Anfrage kann nicht fortgesetzt werden, da eine Abrechnungsvoraussetzung nicht erfüllt ist.
- 403
Das Konto ist für diesen Vorgang nicht berechtigt.
- 429
Ein Anfrage- oder Ausgabenlimit wurde erreicht.
- 502
Der Dienst konnte die Anfrage nicht abschließen.
- 503
Die API oder der Abrechnungsdienst ist vorübergehend nicht verfügbar.
- 504
Beim Verarbeiten der Anfrage ist eine Zeitüberschreitung aufgetreten.
- default
Fehlerantwort; Upstream-Passthrough-Antworten können Anbieterformate verwenden
application/json
curl https://openapi.felo.ai/v1/beta/twitter/tweet/thread_context \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"has_next_page": true,
"next_cursor": "string",
"status": "success",
"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"
}