Twitter / X
Query public users, posts, communities and trends.
Získat informace o komunitě podle ID
Získává metadata komunity X podle jejího číselného ID komunity — název, popis, počet členů a pravidla přístupu. Použijte k posouzení komunity před načtením jejích členů nebo příspěvků. Objekt se vrací v community_info. Chcete-li objevovat komunity podle tématu, prohledejte jejich příspěvky pomocí get_twitter_community_tweets_all.
Cenová reference
- Účtování: pevná nákladová základna za úspěšný požadavek.
- Referenční odhad požadavku: USD 0.0002.
- 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: stringcommunity
_id povinnéID komunity
- Typ: object · Response8D25370A403A_CommunityInfoResponse200
Odpověď s informacemi o komunitě
- Typ: object · Response8D25370A403A_CommunityInfocommunity
_info - adminTyp: object · Response8D25370A403A_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: object
_bio - descriptionTyp: string
- entitiesTyp: object
- descriptionTyp: object
- urlsTyp: array object[]
- displayTyp: string
_url - expandedTyp: string
_url - indicesTyp: array integer[]
- urlTyp: string
- urlTyp: object
- urlsTyp: array object[]
- displayTyp: string
_url - expandedTyp: string
_url - indicesTyp: array integer[]
- urlTyp: string
- 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
- bannerTyp: string | null
_url - createdTyp: string | null
_at - creatorTyp: object · Response8D25370A403A_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: object
_bio - descriptionTyp: string
- entitiesTyp: object
- descriptionTyp: object
- urlsTyp: array object[]
- displayTyp: string
_url - expandedTyp: string
_url - indicesTyp: array integer[]
- urlTyp: string
- urlTyp: object
- urlsTyp: array object[]
- displayTyp: string
_url - expandedTyp: string
_url - indicesTyp: array integer[]
- urlTyp: string
- 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
- descriptionTyp: string | null
- idTyp: string | null
- invitesTyp: string | null
_policy - isTyp: boolean
_nsfw - isTyp: boolean
_pinned - joinTyp: string | null
_policy - memberTyp: integer
_count Integer numbers.
- membersTyp: array object[]
_preview Prázdný objekt - moderatorTyp: integer
_count Integer numbers.
- nameTyp: string | null
- primaryTyp: object
_topic - idTyp: string | null
- nameTyp: string | null
- questionTyp: string | null
- roleTyp: string | null
- rulesTyp: array object[]
- descriptionTyp: string
- idTyp: string
- nameTyp: string
- searchTyp: array string[]
_tags
- Typ: stringmsg
- Typ: string enumstatushodnoty
- success
- error
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/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"
}