Twitter / X
Query public users, posts, communities and trends.
Ambil Tweet Komunitas
Ambil postingan yang diterbitkan di dalam satu Komunitas X tertentu, dipaginasi dengan kursor. Gunakan untuk membaca apa yang sebenarnya dibahas komunitas yang sudah dikenal. Mengembalikan objek tweet lengkap dengan jumlah interaksi. Jika Anda belum tahu komunitas mana yang harus dilihat, cari di semua komunitas dengan get_twitter_community_tweets_all.
Referensi harga
- Metering: Jumlah hasil terukur.
- Estimasi referensi per permintaan: USD 0.003.
- Dasar biaya minimum: USD 0.00015.
- Pengali pelanggan referensi: 1.0. Jangan terapkan lagi pada jumlah pelanggan yang telah diselesaikan.
- Dasar biaya tidak menentukan harga pelanggan akhir, termasuk saat bernilai nol.
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: stringcursor
Kursor untuk paginasi
- Tipe: object200
Respons tweet komunitas
- Tipe: booleanhas
_next - Tipe: booleanhas
_next _page - Tipe: stringmsg
- Tipe: stringnext
_cursor - Tipe: string enumstatusnilai
- success
- error
- Tipe: array object[] · Response8D25370A403A_Tweet[]tweets
- authorTipe: 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
- bookmarkTipe: integer
Count Integer numbers.
- conversationTipe: string
Id - createdTipe: string
At - displayTipe: array integer[]
Text Range - entitiesTipe: object
- hashtagsTipe: array object[]
- indicesTipe: array integer[]
- textTipe: string
- urlsTipe: array object[]
- displayTipe: string
_url - expandedTipe: string
_url - indicesTipe: array integer[]
- urlTipe: string
- userTipe: array object[]
_mentions - idTipe: string
_str - nameTipe: string
- screenTipe: string
_name
- idTipe: string
- inTipe: string
Reply To Id - inTipe: string
Reply To User Id - inTipe: string
Reply To Username - isTipe: boolean
Limited Reply - isTipe: boolean
Reply - langTipe: string
- likeTipe: integer
Count Integer numbers.
- quoteTipe: integer
Count Integer numbers.
- quotedTipe: string
_tweet - replyTipe: integer
Count Integer numbers.
- retweetTipe: integer
Count Integer numbers.
- retweetedTipe: string
_tweet - sourceTipe: string
- textTipe: string
- typeTipe: string
- urlTipe: string
- viewTipe: integer
Count Integer numbers.
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/tweets?community_id=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"tweets": [
{
"type": "string",
"id": "string",
"url": "string",
"text": "string",
"source": "string",
"retweetCount": 1,
"replyCount": 1,
"likeCount": 1,
"quoteCount": 1,
"viewCount": 1,
"createdAt": "string",
"lang": "string",
"bookmarkCount": 1,
"isReply": true,
"inReplyToId": "string",
"conversationId": "string",
"displayTextRange": [
1
],
"inReplyToUserId": "string",
"inReplyToUsername": "string",
"author": {
"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"
}
]
}
}
}
},
"entities": {
"hashtags": [
{
"indices": [
1
],
"text": "string"
}
],
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
],
"user_mentions": [
{
"id_str": "string",
"name": "string",
"screen_name": "string"
}
]
},
"quoted_tweet": "string",
"retweeted_tweet": "string",
"isLimitedReply": true
}
],
"has_next_page": true,
"next_cursor": "string",
"has_next": true,
"status": "success",
"msg": "string"
}