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

Ambil Tweet Komunitas

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

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.

Parameter Kueri
  • community_id
    Tipe: string
    wajib

    ID komunitas

  • cursor
    Tipe: string

    Kursor untuk paginasi

Respons
  • 200
    Tipe: object

    Respons tweet komunitas

    • has_next
      Tipe: boolean
    • has_next_page
      Tipe: boolean
    • msg
      Tipe: string
    • next_cursor
      Tipe: string
    • status
      Tipe: string enum
      nilai
      • success
      • error
    • tweets
      Tipe: array object[] · Response8D25370A403A_Tweet[]
      • author
        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[]
      • bookmarkCount
        Tipe: integer

        Integer numbers.

      • conversationId
        Tipe: string
      • createdAt
        Tipe: string
      • displayTextRange
        Tipe: array integer[]
      • entities
        Tipe: object
        • hashtags
          Tipe: array object[]
          • indices
            Tipe: array integer[]
          • text
            Tipe: string
        • urls
          Tipe: array object[]
          • display_url
            Tipe: string
          • expanded_url
            Tipe: string
          • indices
            Tipe: array integer[]
          • url
            Tipe: string
        • user_mentions
          Tipe: array object[]
          • id_str
            Tipe: string
          • name
            Tipe: string
          • screen_name
            Tipe: string
      • id
        Tipe: string
      • inReplyToId
        Tipe: string
      • inReplyToUserId
        Tipe: string
      • inReplyToUsername
        Tipe: string
      • isLimitedReply
        Tipe: boolean
      • isReply
        Tipe: boolean
      • lang
        Tipe: string
      • likeCount
        Tipe: integer

        Integer numbers.

      • quoteCount
        Tipe: integer

        Integer numbers.

      • quoted_tweet
        Tipe: string
      • replyCount
        Tipe: integer

        Integer numbers.

      • retweetCount
        Tipe: integer

        Integer numbers.

      • retweeted_tweet
        Tipe: string
      • source
        Tipe: string
      • text
        Tipe: string
      • type
        Tipe: string
      • url
        Tipe: string
      • viewCount
        Tipe: integer

        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
Request Example for get/v1/beta/twitter/community/tweets
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"
}
Get Community Tweets