Pobierz informacje o społeczności według ID
Twitter / X
Query public users, posts, communities and trends.
Pobierz informacje o społeczności według ID
Pobiera metadane społeczności X według jej numerycznego identyfikatora społeczności — nazwę, opis, liczbę członków i zasady dostępu. Używaj, aby ocenić społeczność przed pobraniem jej członków lub wpisów. Zwraca obiekt w community_info. Aby odkrywać społeczności według tematu, przeszukaj ich wpisy za pomocą get_twitter_community_tweets_all.
Cennik referencyjny
- Rozliczanie: stała podstawa kosztu za udane żądanie.
- Szacunek referencyjny dla żądania: USD 0.0002.
- 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: stringcommunity
_id wymaganeIdentyfikator społeczności
- Typ: object · Response8D25370A403A_CommunityInfoResponse200
Odpowiedź z informacjami o społeczności
- 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 Pusty obiekt - 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 enumstatuswartości
- success
- error
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/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"
}