Obtenir les informations d'une communauté par ID
Twitter / X
Query public users, posts, communities and trends.
Obtenir les informations d'une communauté par ID
Récupère les métadonnées d'une X Community par son ID numérique — nom, description, nombre de membres et règles d'accès. À utiliser pour qualifier une communauté avant d'en extraire les membres ou les publications. Renvoie l'objet sous community_info. Pour découvrir des communautés par thème, recherchez leurs publications avec get_twitter_community_tweets_all.
Référence tarifaire
- Mesure : base de coût fixe par requête réussie.
- Estimation de référence par requête : USD 0.0002.
- Multiplicateur client de référence : 1.0. Ne pas l'appliquer à nouveau à un montant client déjà réglé.
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: object · Response8D25370A403A_CommunityInfoResponse200
Réponse d'informations sur la communauté
- Type: object · Response8D25370A403A_CommunityInfocommunity
_info - adminType: 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
- bannerType: string | null
_url - createdType: string | null
_at - creatorType: 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
- descriptionType: string | null
- idType: string | null
- invitesType: string | null
_policy - isType: boolean
_nsfw - isType: boolean
_pinned - joinType: string | null
_policy - memberType: integer
_count Integer numbers.
- membersType: array object[]
_preview Objet vide - moderatorType: integer
_count Integer numbers.
- nameType: string | null
- primaryType: object
_topic - idType: string | null
- nameType: string | null
- questionType: string | null
- roleType: string | null
- rulesType: array object[]
- descriptionType: string
- idType: string
- nameType: string
- searchType: array string[]
_tags
- Type: stringmsg
- Type: string enumstatusvaleurs
- success
- error
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/info?community_id=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"community_info": {
"id": null,
"name": null,
"description": null,
"question": null,
"member_count": 1,
"moderator_count": 1,
"created_at": null,
"join_policy": null,
"invites_policy": null,
"is_nsfw": true,
"is_pinned": true,
"role": null,
"primary_topic": {
"id": null,
"name": null
},
"banner_url": null,
"search_tags": [
"string"
],
"rules": [
{
"id": "string",
"name": "string",
"description": "string"
}
],
"creator": {
"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"
}
]
}
}
}
},
"admin": {
"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"
}
]
}
}
}
},
"members_preview": [
{}
]
},
"status": "success",
"msg": "string"
}