Obtenir les tweets d'une communauté
Twitter / X
Query public users, posts, communities and trends.
Obtenir les tweets d'une communauté
Récupère les publications publiées dans une X Community donnée, avec pagination par curseur. À utiliser pour lire ce dont une communauté connue débat réellement. Renvoie des objets tweet complets avec les compteurs d'engagement. Si vous ne savez pas quelle communauté consulter, effectuez une recherche dans toutes avec get_twitter_community_tweets_all.
Référence tarifaire
- Mesure : nombre de résultats mesurés.
- Estimation de référence par requête : USD 0.003.
- Base de coût minimale : USD 0.00015.
- Multiplicateur client de référence : 1.0. Ne pas l'appliquer à nouveau à un montant client déjà réglé.
- Les bases de coût ne déterminent pas le prix client final, y compris lorsqu'elles valent zéro.
Métadonnées de référence uniquement, et non un devis de compte, un prix garanti ou un plafond de dépenses. Les crédits de ressources ne sont pas des crédits Felo. Les débits définitifs suivent les enregistrements de facturation Felo.
- Type: stringcommunity
_id obligatoireID de la communauté
- Type: stringcursor
Curseur de pagination
- Type: object200
Réponse de tweets de la communauté
- Type: booleanhas
_next - Type: booleanhas
_next _page - Type: stringmsg
- Type: stringnext
_cursor - Type: string enumstatusvaleurs
- success
- error
- Type: array object[] · Response8D25370A403A_Tweet[]tweets
- authorType: object · Response8D25370A403A_User
- automatedType: string
By - canType: boolean
Dm - coverType: string
Picture - createdType: string
At - descriptionType: string
- favouritesType: integer
Count Integer numbers.
- followersType: integer
Integer numbers.
- followingType: integer
Integer numbers.
- hasType: boolean
Custom Timelines - idType: string
- isType: boolean
Automated - isType: boolean
Blue Verified - isType: boolean
Translator - locationType: string
- mediaType: integer
Count Integer numbers.
- messageType: string
- nameType: string
- pinnedType: array string[]
Tweet Ids - possiblyType: boolean
Sensitive - profileType: object
_bio - descriptionType: string
- entitiesType: object
- descriptionType: object
- urlsType: array object[]
- displayType: string
_url - expandedType: string
_url - indicesType: array integer[]
- urlType: string
- urlType: object
- urlsType: array object[]
- displayType: string
_url - expandedType: string
_url - indicesType: array integer[]
- urlType: string
- profileType: string
Picture - statusesType: integer
Count Integer numbers.
- typeType: string
- unavailableType: boolean
- unavailableType: string
Reason - urlType: string
- userType: string
Name - verifiedType: string
Type - withheldType: array string[]
In Countries
- bookmarkType: integer
Count Integer numbers.
- conversationType: string
Id - createdType: string
At - displayType: array integer[]
Text Range - entitiesType: object
- hashtagsType: array object[]
- indicesType: array integer[]
- textType: string
- urlsType: array object[]
- displayType: string
_url - expandedType: string
_url - indicesType: array integer[]
- urlType: string
- userType: array object[]
_mentions - idType: string
_str - nameType: string
- screenType: string
_name
- idType: string
- inType: string
Reply To Id - inType: string
Reply To User Id - inType: string
Reply To Username - isType: boolean
Limited Reply - isType: boolean
Reply - langType: string
- likeType: integer
Count Integer numbers.
- quoteType: integer
Count Integer numbers.
- quotedType: string
_tweet - replyType: integer
Count Integer numbers.
- retweetType: integer
Count Integer numbers.
- retweetedType: string
_tweet - sourceType: string
- textType: string
- typeType: string
- urlType: string
- viewType: integer
Count Integer numbers.
application/json - 400
La requête n'a pas pu être traitée. Vérifiez les paramètres de la requête.
- 401
Une clé API Felo valide est requise.
- 402
La requête ne peut pas aboutir car une condition de facturation n'est pas remplie.
- 403
Le compte n'est pas autorisé à effectuer cette opération.
- 429
Une limite de requêtes ou de dépenses a été atteinte.
- 502
Le service n'a pas pu terminer la requête.
- 503
L'API ou le service de facturation est temporairement indisponible.
- 504
Le service a expiré lors du traitement de la requête.
- default
Réponse d'erreur ; les réponses transmises depuis l'upstream peuvent utiliser les formats du fournisseur
application/json
curl 'https://openapi.felo.ai/v1/beta/twitter/community/tweets?community_id=' \
--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",
"profile_bio": {
"description": "string",
"entities": {
"description": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
},
"url": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "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
}
],
"has_next_page": true,
"next_cursor": "string",
"has_next": true,
"status": "success",
"msg": "string"
}