Felo API PlatformFelo API Platform
Wszystkie endpointy X
v0.2.0-beta
OpenAPI 3.1.0

Pobierz informacje o społeczności według ID

Serwer:https://openapi.felo.ai
Biblioteki klienckie

Twitter / X

​

Query public users, posts, communities and trends.

Pobierz informacje o społeczności według ID

​

Pobiera metadane społeczności X według jej numerycznego identyfikatora społeczności — nazwę, opis, liczbę członków i zasady dostępu. Używaj, aby ocenić społeczność przed pobraniem jej członków lub wpisów. Zwraca obiekt w community_info. Aby odkrywać społeczności według tematu, przeszukaj ich wpisy za pomocą get_twitter_community_tweets_all.

Cennik referencyjny

  • Rozliczanie: stała podstawa kosztu za udane żądanie.
  • Szacunek referencyjny dla żądania: USD 0.0002.
  • Referencyjny mnożnik klienta: 1.0. Nie stosuj go ponownie do rozliczonej kwoty klienta.

Wyłącznie metadane referencyjne, a nie wycena konta, gwarantowana cena lub limit wydatków. Kredyty zasobów nie są kredytami Felo. Ostateczne obciążenia są zgodne z zapisami rozliczeniowymi Felo.

Parametry zapytania
  • community_id
    Typ: string
    wymagane

    Identyfikator społeczności

Odpowiedzi
  • 200
    Typ: object · Response8D25370A403A_CommunityInfoResponse

    Odpowiedź z informacjami o społeczności

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

          Integer numbers.

        • followers
          Typ: integer

          Integer numbers.

        • following
          Typ: integer

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

        • followers
          Typ: integer

          Integer numbers.

        • following
          Typ: integer

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

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

        Integer numbers.

      • members_preview
        Typ: array object[]
        Pusty obiekt
      • moderator_count
        Typ: integer

        Integer numbers.

      • name
        Typ: string | null
      • primary_topic
        Typ: object
        • id
          Typ: string | null
        • name
          Typ: string | null
      • question
        Typ: string | null
      • role
        Typ: string | null
      • rules
        Typ: array object[]
        • description
          Typ: string
        • id
          Typ: string
        • name
          Typ: string
      • search_tags
        Typ: array string[]
    • msg
      Typ: string
    • status
      Typ: string enum
      wartości
      • success
      • error
    application/json
  • 400

    Nie można przetworzyć żądania. Sprawdź parametry żądania.

  • 401

    Wymagany jest prawidłowy klucz API Felo.

  • 402

    Nie można kontynuować żądania, ponieważ nie spełniono wymogu rozliczeniowego.

  • 403

    Konto nie ma uprawnień do wykonania tej operacji.

  • 429

    Osiągnięto limit żądań lub wydatków.

  • 502

    Usługa nie mogła ukończyć żądania.

  • 503

    API lub usługa rozliczeniowa jest tymczasowo niedostępna.

  • 504

    Upłynął limit czasu usługi podczas przetwarzania żądania.

  • default

    Odpowiedź błędu; odpowiedzi przekazywane bezpośrednio od dostawcy upstream mogą używać formatów dostawcy

    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