Felo API PlatformFelo API Platform
Semua endpoint X
v0.2.0-beta
OpenAPI 3.1.0

Ambil Info Komunitas berdasarkan Id

Server:https://openapi.felo.ai
Pustaka Klien

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.

Parameter Kueri
  • community_id
    Tipe: string
    wajib

    ID komunitas

Respons
  • 200
    Tipe: object · Response8D25370A403A_CommunityInfoResponse

    Respons info komunitas

    • community_info
      Tipe: object · Response8D25370A403A_CommunityInfo
      • admin
        Tipe: object · Response8D25370A403A_User
        • automatedBy
          Tipe: string
        • canDm
          Tipe: boolean
        • coverPicture
          Tipe: string
        • createdAt
          Tipe: string
        • description
          Tipe: string
        • favouritesCount
          Tipe: integer

          Integer numbers.

        • followers
          Tipe: integer

          Integer numbers.

        • following
          Tipe: integer

          Integer numbers.

        • hasCustomTimelines
          Tipe: boolean
        • id
          Tipe: string
        • isAutomated
          Tipe: boolean
        • isBlueVerified
          Tipe: boolean
        • isTranslator
          Tipe: boolean
        • location
          Tipe: string
        • mediaCount
          Tipe: integer

          Integer numbers.

        • message
          Tipe: string
        • name
          Tipe: string
        • pinnedTweetIds
          Tipe: array string[]
        • possiblySensitive
          Tipe: boolean
        • profile_bio
          Tipe: object
          • description
            Tipe: string
          • entities
            Tipe: object
            • description
              Tipe: object
              • urls
                Tipe: array object[]
                • display_url
                  Tipe: string
                • expanded_url
                  Tipe: string
                • indices
                  Tipe: array integer[]
                • url
                  Tipe: string
            • url
              Tipe: object
              • urls
                Tipe: array object[]
                • display_url
                  Tipe: string
                • expanded_url
                  Tipe: string
                • indices
                  Tipe: array integer[]
                • url
                  Tipe: string
        • profilePicture
          Tipe: string
        • statusesCount
          Tipe: integer

          Integer numbers.

        • type
          Tipe: string
        • unavailable
          Tipe: boolean
        • unavailableReason
          Tipe: string
        • url
          Tipe: string
        • userName
          Tipe: string
        • verifiedType
          Tipe: string
        • withheldInCountries
          Tipe: array string[]
      • banner_url
        Tipe: string | null
      • created_at
        Tipe: string | null
      • creator
        Tipe: object · Response8D25370A403A_User
        • automatedBy
          Tipe: string
        • canDm
          Tipe: boolean
        • coverPicture
          Tipe: string
        • createdAt
          Tipe: string
        • description
          Tipe: string
        • favouritesCount
          Tipe: integer

          Integer numbers.

        • followers
          Tipe: integer

          Integer numbers.

        • following
          Tipe: integer

          Integer numbers.

        • hasCustomTimelines
          Tipe: boolean
        • id
          Tipe: string
        • isAutomated
          Tipe: boolean
        • isBlueVerified
          Tipe: boolean
        • isTranslator
          Tipe: boolean
        • location
          Tipe: string
        • mediaCount
          Tipe: integer

          Integer numbers.

        • message
          Tipe: string
        • name
          Tipe: string
        • pinnedTweetIds
          Tipe: array string[]
        • possiblySensitive
          Tipe: boolean
        • profile_bio
          Tipe: object
          • description
            Tipe: string
          • entities
            Tipe: object
            • description
              Tipe: object
              • urls
                Tipe: array object[]
                • display_url
                  Tipe: string
                • expanded_url
                  Tipe: string
                • indices
                  Tipe: array integer[]
                • url
                  Tipe: string
            • url
              Tipe: object
              • urls
                Tipe: array object[]
                • display_url
                  Tipe: string
                • expanded_url
                  Tipe: string
                • indices
                  Tipe: array integer[]
                • url
                  Tipe: string
        • profilePicture
          Tipe: string
        • statusesCount
          Tipe: integer

          Integer numbers.

        • type
          Tipe: string
        • unavailable
          Tipe: boolean
        • unavailableReason
          Tipe: string
        • url
          Tipe: string
        • userName
          Tipe: string
        • verifiedType
          Tipe: string
        • withheldInCountries
          Tipe: array string[]
      • description
        Tipe: string | null
      • id
        Tipe: string | null
      • invites_policy
        Tipe: string | null
      • is_nsfw
        Tipe: boolean
      • is_pinned
        Tipe: boolean
      • join_policy
        Tipe: string | null
      • member_count
        Tipe: integer

        Integer numbers.

      • members_preview
        Tipe: array object[]
        Objek kosong
      • moderator_count
        Tipe: integer

        Integer numbers.

      • name
        Tipe: string | null
      • primary_topic
        Tipe: object
        • id
          Tipe: string | null
        • name
          Tipe: string | null
      • question
        Tipe: string | null
      • role
        Tipe: string | null
      • rules
        Tipe: array object[]
        • description
          Tipe: string
        • id
          Tipe: string
        • name
          Tipe: string
      • search_tags
        Tipe: array string[]
    • msg
      Tipe: string
    • status
      Tipe: string enum
      nilai
      • 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
Request Example for get/v1/beta/twitter/community/info
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"
}
Get Community Info By Id