Twitter / X
Query public users, posts, communities and trends.
Získat článek
Získává plné tělo článku X (dlouhého příspěvku) podle ID jeho tweatu. Použijte, když tweet odkazuje na článek nebo je článkem a náhled o 280 znacích nestačí — vrací úplný text místo zkráceného tweatu. Článek se vrací v article. Pro běžné tweety použijte get_twitter_tweets.
Cenová reference
- Účtování: pevná nákladová základna za úspěšný požadavek.
- Referenční odhad požadavku: USD 0.001.
- Referenční multiplikátor zákazníka: 1.0. Neaplikujte jej znovu na zúčtovanou částku zákazníka.
Pouze referenční metadata, nikoli nabídka pro účet, garantovaná cena či limit utrácení. Kredity prostředků nejsou kredity Felo. Konečné účtování se řídí fakturačními záznamy Felo.
- Typ: stringtweet
_id
- Typ: object · ResponseCbc4F8806E32_ArticleResponse200
Úspěšná odpověď
- Typ: object · ResponseCbc4F8806E32_Articlearticle
- 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
- contentsTyp: array object[]
- textTyp: string
- coverTyp: string
_media _img _url - createdTyp: string
At - likeTyp: integer
Count Integer numbers.
- previewTyp: string
_text - quoteTyp: integer
Count Integer numbers.
- replyTyp: integer
Count Integer numbers.
- titleTyp: string
- viewTyp: integer
Count Integer numbers.
- Typ: stringmsg
- Typ: string enumstatushodnoty
- success
- failed
application/json - 400
Požadavek se nepodařilo zpracovat. Zkontrolujte parametry požadavku.
- 401
Je vyžadován platný API klíč Felo.
- 402
V požadavku nelze pokračovat, protože není splněn požadavek na fakturaci.
- 403
Účet nemá oprávnění tuto operaci provést.
- 429
Byl dosažen limit požadavků nebo útraty.
- 502
Služba nemohla požadavek dokončit.
- 503
API nebo fakturační služba je dočasně nedostupná.
- 504
Při zpracování požadavku vypršel časový limit služby.
- default
Chybová odpověď; odpovědi předávané přímo od upstream poskytovatele mohou používat formáty poskytovatele
application/json
curl https://openapi.felo.ai/v1/beta/twitter/article \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"article": {
"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"
},
"replyCount": 1,
"likeCount": 1,
"quoteCount": 1,
"viewCount": 1,
"createdAt": "string",
"title": "string",
"preview_text": "string",
"cover_media_img_url": "string",
"contents": [
{
"text": "string"
}
]
},
"status": "success",
"msg": "string"
}