Felo API PlatformFelo API Platform
Todos los endpoints de X
v0.2.0-beta
OpenAPI 3.1.0

Obtener información de la comunidad por ID

Servidor:https://openapi.felo.ai
Bibliotecas cliente

Twitter / X

​

Query public users, posts, communities and trends.

Obtener información de la comunidad por ID

​

Obtiene metadatos de una X Community por su ID numérico de comunidad: nombre, descripción, número de miembros y reglas de acceso. Úsalo para evaluar una comunidad antes de obtener sus miembros o publicaciones. Devuelve el objeto en community_info. Para descubrir comunidades por tema, busca sus publicaciones con get_twitter_community_tweets_all.

Referencia de precios

  • Medición: base de costo fija por solicitud exitosa.
  • Estimación de referencia por solicitud: USD 0.0002.
  • Multiplicador de referencia del cliente: 1.0. No lo apliques de nuevo a un importe de cliente ya liquidado.

Solo metadatos de referencia, no una cotización de la cuenta, un precio garantizado ni un límite de gasto. Los créditos de recursos no son créditos de Felo. Los cargos finales se rigen por los registros de facturación de Felo.

Parámetros de consulta
  • community_id
    Tipo: string
    obligatorio

    ID de la comunidad

Respuestas
  • 200
    Tipo: object · Response8D25370A403A_CommunityInfoResponse

    Respuesta de información de la comunidad

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

          Integer numbers.

        • followers
          Tipo: integer

          Integer numbers.

        • following
          Tipo: integer

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

        • followers
          Tipo: integer

          Integer numbers.

        • following
          Tipo: integer

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

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

        Integer numbers.

      • members_preview
        Tipo: array object[]
        Objeto vacío
      • moderator_count
        Tipo: integer

        Integer numbers.

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

    No se pudo procesar la solicitud. Comprueba los parámetros de la solicitud.

  • 401

    Se requiere una clave de API de Felo válida.

  • 402

    La solicitud no puede continuar porque no se cumple un requisito de facturación.

  • 403

    La cuenta no tiene permiso para realizar esta operación.

  • 429

    Se ha alcanzado un límite de solicitudes o de gasto.

  • 502

    El servicio no pudo completar la solicitud.

  • 503

    La API o el servicio de facturación no están disponibles temporalmente.

  • 504

    El servicio agotó el tiempo de espera al procesar la solicitud.

  • default

    Respuesta de error; las respuestas de paso del upstream pueden usar formatos del proveedor

    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