Felo API PlatformFelo API Platform
Alle endpoints van X
v0.2.0-beta
OpenAPI 3.1.0

Community-info op id ophalen

Server:https://openapi.felo.ai
Clientbibliotheken

Twitter / X

​

Query public users, posts, communities and trends.

Community-info op id ophalen

​

Haalt metadata op voor een X-community op basis van het numerieke community-ID: naam, beschrijving, ledenaantal en toegangsregels. Gebruik dit om een community te beoordelen voordat je leden of berichten ophaalt. Retourneert het object onder community_info. Om communities per onderwerp te ontdekken, doorzoek je hun berichten met get_twitter_community_tweets_all.

Prijsreferentie

  • Metering: Vaste kostenbasis per geslaagd verzoek.
  • Referentieschatting per verzoek: USD 0.0002.
  • Referentiemultiplier voor klanten: 1.0. Niet opnieuw toepassen op een al afgerekend klantbedrag.

Alleen referentiemetadata, geen accountofferte en geen gegarandeerde prijs of bestedingslimiet. Resourcecredits zijn geen Felo-tegoed. De uiteindelijke kosten volgen de factureringsgegevens van Felo.

Queryparameters
  • community_id
    Type: string
    verplicht

    ID van de community

Responsen
  • 200
    Type: object · Response8D25370A403A_CommunityInfoResponse

    Community-inforespons

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

          Integer numbers.

        • followers
          Type: integer

          Integer numbers.

        • following
          Type: integer

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

        • followers
          Type: integer

          Integer numbers.

        • following
          Type: integer

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

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

        Integer numbers.

      • members_preview
        Type: array object[]
        Leeg object
      • moderator_count
        Type: integer

        Integer numbers.

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

    Het verzoek kon niet worden verwerkt. Controleer de verzoekparameters.

  • 401

    Een geldige Felo-API-sleutel is vereist.

  • 402

    Het verzoek kan niet doorgaan omdat niet aan een factureringsvoorwaarde is voldaan.

  • 403

    Het account mag deze bewerking niet uitvoeren.

  • 429

    Een verzoek- of bestedingslimiet is bereikt.

  • 502

    De dienst kon het verzoek niet voltooien.

  • 503

    De API of factureringsdienst is tijdelijk niet beschikbaar.

  • 504

    Er is een time-out opgetreden bij het verwerken van het verzoek.

  • default

    Foutrespons; upstream-passthrough-responsen kunnen indelingen van de provider gebruiken

    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