Twitter / X
Query public users, posts, communities and trends.
Pobierz artykuł
Pobiera pełną treść artykułu X (długiego wpisu) na podstawie jego identyfikatora tweeta. Używaj, gdy tweet linkuje do artykułu lub sam jest artykułem, a podgląd 280 znaków nie wystarcza — zwracany jest pełny tekst zamiast skróconego tweeta. Artykuł jest zwracany w article. W przypadku zwykłych tweetów użyj get_twitter_tweets.
Cennik referencyjny
- Rozliczanie: stała podstawa kosztu za udane żądanie.
- Szacunek referencyjny dla żądania: USD 0.001.
- Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej kwoty klienta.
Wyłącznie metadane referencyjne, a nie wycena konta, gwarantowana cena lub limit wydatków. Kredyty zasobów nie są kredytami Felo. Ostateczne obciążenia są zgodne z zapisami rozliczeniowymi Felo.
- Typ: stringtweet
_id
- Typ: object · ResponseCbc4F8806E32_ArticleResponse200
Pomyślna odpowiedź
- 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 enumstatuswartości
- success
- failed
application/json - 400
Nie można przetworzyć żądania. Sprawdź parametry żądania.
- 401
Wymagany jest prawidłowy klucz API Felo.
- 402
Nie można kontynuować żądania, ponieważ nie spełniono wymogu rozliczeniowego.
- 403
Konto nie ma uprawnień do wykonania tej operacji.
- 429
Osiągnięto limit żądań lub wydatków.
- 502
Usługa nie mogła ukończyć żądania.
- 503
API lub usługa rozliczeniowa jest tymczasowo niedostępna.
- 504
Upłynął limit czasu usługi podczas przetwarzania żądania.
- default
Odpowiedź błędu; odpowiedzi przekazywane bezpośrednio od dostawcy upstream mogą używać formatów dostawcy
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"
}