Twitter / X
Query public users, posts, communities and trends.
קבלת מידע קהילה לפי מזהה
מחזיר מטא-נתונים של קהילת X לפי מזהה הקהילה המספרי — שם, תיאור, מספר חברים וכללי גישה. השתמשו בו כדי להעריך קהילה לפני משיכת החברים או הפוסטים שלה. האובייקט מוחזר תחת community_info. כדי לגלות קהילות לפי נושא, חפשו בפוסטים שלהן עם get_twitter_community_tweets_all.
מראה תמחור
- מדידה: בסיס עלות קבוע לבקשה מוצלחת.
- אומדן בקשת ייחוס: 0.0002 דולר ארה״ב.
- מכפיל לקוח לייחוס: 1.0. אין להחיל אותו בשנית על סכום לקוח שכבר נקבע.
זהו מטא-נתון לעיון בלבד, לא הצעת מחיר לחשבון, לא מחיר מובטח ולא תקרת הוצאה. קרדיטי משאבים אינם קרדיטים של Felo. החיוב הסופי נעשה לפי רשומות החיוב של Felo.
- סוג: stringcommunity
_id חובהמזהה הקהילה
- סוג: object · Response8D25370A403A_CommunityInfoResponse200
תגובת מידע קהילה
- סוג: object · Response8D25370A403A_CommunityInfocommunity
_info - adminסוג: object · Response8D25370A403A_User
- automatedסוג: string
By - canסוג: boolean
Dm - coverסוג: string
Picture - createdסוג: string
At - descriptionסוג: string
- favouritesסוג: integer
Count Integer numbers.
- followersסוג: integer
Integer numbers.
- followingסוג: integer
Integer numbers.
- hasסוג: boolean
Custom Timelines - idסוג: string
- isסוג: boolean
Automated - isסוג: boolean
Blue Verified - isסוג: boolean
Translator - locationסוג: string
- mediaסוג: integer
Count Integer numbers.
- messageסוג: string
- nameסוג: string
- pinnedסוג: array string[]
Tweet Ids - possiblyסוג: boolean
Sensitive - profileסוג: object
_bio - descriptionסוג: string
- entitiesסוג: object
- descriptionסוג: object
- urlsסוג: array object[]
- displayסוג: string
_url - expandedסוג: string
_url - indicesסוג: array integer[]
- urlסוג: string
- urlסוג: object
- urlsסוג: array object[]
- displayסוג: string
_url - expandedסוג: string
_url - indicesסוג: array integer[]
- urlסוג: string
- profileסוג: string
Picture - statusesסוג: integer
Count Integer numbers.
- typeסוג: string
- unavailableסוג: boolean
- unavailableסוג: string
Reason - urlסוג: string
- userסוג: string
Name - verifiedסוג: string
Type - withheldסוג: array string[]
In Countries
- bannerסוג: string | null
_url - createdסוג: string | null
_at - creatorסוג: object · Response8D25370A403A_User
- automatedסוג: string
By - canסוג: boolean
Dm - coverסוג: string
Picture - createdסוג: string
At - descriptionסוג: string
- favouritesסוג: integer
Count Integer numbers.
- followersסוג: integer
Integer numbers.
- followingסוג: integer
Integer numbers.
- hasסוג: boolean
Custom Timelines - idסוג: string
- isסוג: boolean
Automated - isסוג: boolean
Blue Verified - isסוג: boolean
Translator - locationסוג: string
- mediaסוג: integer
Count Integer numbers.
- messageסוג: string
- nameסוג: string
- pinnedסוג: array string[]
Tweet Ids - possiblyסוג: boolean
Sensitive - profileסוג: object
_bio - descriptionסוג: string
- entitiesסוג: object
- descriptionסוג: object
- urlsסוג: array object[]
- displayסוג: string
_url - expandedסוג: string
_url - indicesסוג: array integer[]
- urlסוג: string
- urlסוג: object
- urlsסוג: array object[]
- displayסוג: string
_url - expandedסוג: string
_url - indicesסוג: array integer[]
- urlסוג: string
- profileסוג: string
Picture - statusesסוג: integer
Count Integer numbers.
- typeסוג: string
- unavailableסוג: boolean
- unavailableסוג: string
Reason - urlסוג: string
- userסוג: string
Name - verifiedסוג: string
Type - withheldסוג: array string[]
In Countries
- descriptionסוג: string | null
- idסוג: string | null
- invitesסוג: string | null
_policy - isסוג: boolean
_nsfw - isסוג: boolean
_pinned - joinסוג: string | null
_policy - memberסוג: integer
_count Integer numbers.
- membersסוג: array object[]
_preview אובייקט ריק - moderatorסוג: integer
_count Integer numbers.
- nameסוג: string | null
- primaryסוג: object
_topic - idסוג: string | null
- nameסוג: string | null
- questionסוג: string | null
- roleסוג: string | null
- rulesסוג: array object[]
- descriptionסוג: string
- idסוג: string
- nameסוג: string
- searchסוג: array string[]
_tags
- סוג: stringmsg
- סוג: string enumstatusערכים
- success
- error
application/json - 400
לא ניתן היה לעבד את הבקשה. בדקו את פרמטרי הבקשה.
- 401
נדרש מפתח API תקף של Felo.
- 402
לא ניתן להמשיך את הבקשה משום שדרישת חיוב אינה מתקיימת.
- 403
החשבון אינו מורשה לבצע את הפעולה הזו.
- 429
הגעתם למגבלת בקשות או לתקרת הוצאה.
- 502
השירות לא הצליח להשלים את הבקשה.
- 503
שירות ה-API או החיוב אינו זמין באופן זמני.
- 504
השירות פג בזמן הטיפול בבקשה.
- default
תגובת שגיאה; תגובות מעבר מהמעלה הזרם עשויות להשתמש בפורמטים של הספק
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"
}