Twitter / X
Query public users, posts, communities and trends.
Ambil Info Komunitas berdasarkan Id
Ambil metadata Komunitas X berdasarkan ID komunitas numeriknya — nama, deskripsi, jumlah anggota, dan aturan akses. Gunakan untuk menilai komunitas sebelum mengambil anggota atau postingannya. Mengembalikan objek di community_info. Untuk menemukan komunitas berdasarkan topik, cari postingan mereka dengan get_twitter_community_tweets_all.
Referensi harga
- Metering: Dasar biaya tetap per permintaan berhasil.
- Estimasi referensi per permintaan: USD 0.0002.
- Pengali pelanggan referensi: 1.0. Jangan terapkan lagi pada jumlah pelanggan yang telah diselesaikan.
Hanya metadata referensi, bukan penawaran akun, harga yang dijamin, atau batas pengeluaran. Kredit sumber daya bukanlah kredit Felo. Biaya akhir mengikuti catatan tagihan Felo.
- Tipe: stringcommunity
_id wajibID komunitas
- Tipe: object · Response8D25370A403A_CommunityInfoResponse200
Respons info komunitas
- Tipe: object · Response8D25370A403A_CommunityInfocommunity
_info - adminTipe: object · Response8D25370A403A_User
- automatedTipe: string
By - canTipe: boolean
Dm - coverTipe: string
Picture - createdTipe: string
At - descriptionTipe: string
- favouritesTipe: integer
Count Integer numbers.
- followersTipe: integer
Integer numbers.
- followingTipe: integer
Integer numbers.
- hasTipe: boolean
Custom Timelines - idTipe: string
- isTipe: boolean
Automated - isTipe: boolean
Blue Verified - isTipe: boolean
Translator - locationTipe: string
- mediaTipe: integer
Count Integer numbers.
- messageTipe: string
- nameTipe: string
- pinnedTipe: array string[]
Tweet Ids - possiblyTipe: boolean
Sensitive - profileTipe: object
_bio - descriptionTipe: string
- entitiesTipe: object
- descriptionTipe: object
- urlsTipe: array object[]
- displayTipe: string
_url - expandedTipe: string
_url - indicesTipe: array integer[]
- urlTipe: string
- urlTipe: object
- urlsTipe: array object[]
- displayTipe: string
_url - expandedTipe: string
_url - indicesTipe: array integer[]
- urlTipe: string
- profileTipe: string
Picture - statusesTipe: integer
Count Integer numbers.
- typeTipe: string
- unavailableTipe: boolean
- unavailableTipe: string
Reason - urlTipe: string
- userTipe: string
Name - verifiedTipe: string
Type - withheldTipe: array string[]
In Countries
- bannerTipe: string | null
_url - createdTipe: string | null
_at - creatorTipe: object · Response8D25370A403A_User
- automatedTipe: string
By - canTipe: boolean
Dm - coverTipe: string
Picture - createdTipe: string
At - descriptionTipe: string
- favouritesTipe: integer
Count Integer numbers.
- followersTipe: integer
Integer numbers.
- followingTipe: integer
Integer numbers.
- hasTipe: boolean
Custom Timelines - idTipe: string
- isTipe: boolean
Automated - isTipe: boolean
Blue Verified - isTipe: boolean
Translator - locationTipe: string
- mediaTipe: integer
Count Integer numbers.
- messageTipe: string
- nameTipe: string
- pinnedTipe: array string[]
Tweet Ids - possiblyTipe: boolean
Sensitive - profileTipe: object
_bio - descriptionTipe: string
- entitiesTipe: object
- descriptionTipe: object
- urlsTipe: array object[]
- displayTipe: string
_url - expandedTipe: string
_url - indicesTipe: array integer[]
- urlTipe: string
- urlTipe: object
- urlsTipe: array object[]
- displayTipe: string
_url - expandedTipe: string
_url - indicesTipe: array integer[]
- urlTipe: string
- profileTipe: string
Picture - statusesTipe: integer
Count Integer numbers.
- typeTipe: string
- unavailableTipe: boolean
- unavailableTipe: string
Reason - urlTipe: string
- userTipe: string
Name - verifiedTipe: string
Type - withheldTipe: array string[]
In Countries
- descriptionTipe: string | null
- idTipe: string | null
- invitesTipe: string | null
_policy - isTipe: boolean
_nsfw - isTipe: boolean
_pinned - joinTipe: string | null
_policy - memberTipe: integer
_count Integer numbers.
- membersTipe: array object[]
_preview Objek kosong - moderatorTipe: integer
_count Integer numbers.
- nameTipe: string | null
- primaryTipe: object
_topic - idTipe: string | null
- nameTipe: string | null
- questionTipe: string | null
- roleTipe: string | null
- rulesTipe: array object[]
- descriptionTipe: string
- idTipe: string
- nameTipe: string
- searchTipe: array string[]
_tags
- Tipe: stringmsg
- Tipe: string enumstatusnilai
- success
- error
application/json - 400
Permintaan tidak dapat diproses. Periksa parameter permintaan.
- 401
Kunci API Felo yang valid diperlukan.
- 402
Permintaan tidak dapat dilanjutkan karena persyaratan penagihan belum terpenuhi.
- 403
Akun tidak diizinkan melakukan operasi ini.
- 429
Batas permintaan atau batas pengeluaran telah tercapai.
- 502
Layanan tidak dapat menyelesaikan permintaan.
- 503
API atau layanan penagihan untuk sementara tidak tersedia.
- 504
Layanan kehabisan waktu saat memproses permintaan.
- default
Respons error; respons passthrough upstream dapat menggunakan format penyedia
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"
}