Felo API PlatformFelo API Platform
Все эндпоинты X
v0.2.0-beta
OpenAPI 3.1.0

Получить информацию о сообществе по ID

Сервер:https://openapi.felo.ai
Клиентские библиотеки

Twitter / X

​

Query public users, posts, communities and trends.

Twitter / X Операции

Получить информацию о сообществе по ID

​

Возвращает метаданные сообщества X по его числовому ID сообщества — название, описание, число участников и правила доступа. Используйте, чтобы оценить сообщество перед получением его участников или публикаций. Объект возвращается в community_info. Чтобы находить сообщества по теме, ищите их публикации через get_twitter_community_tweets_all.

Справочная информация о ценах

  • Тарификация: фиксированная базовая стоимость успешного запроса.
  • Справочная оценка запроса: USD 0.0002.
  • Справочный множитель для клиента: 1.0. Не применяйте его повторно к уже рассчитанной сумме клиента.

Только справочные метаданные, а не котировка для аккаунта, гарантированная цена или лимит расходов. Кредиты ресурсов — не кредиты Felo. Итоговые списания определяются записями биллинга Felo.

Query-параметры
  • community_id
    Тип: string
    обязательно

    ID сообщества

Ответы
  • 200
    Тип: object · Response8D25370A403A_CommunityInfoResponse

    Ответ с информацией о сообществе

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

          Integer numbers.

        • followers
          Тип: integer

          Integer numbers.

        • following
          Тип: integer

          Integer numbers.

        • hasCustomTimelines
          Тип: boolean
        • id
          Тип: string
        • isAutomated
          Тип: boolean
        • isBlueVerified
          Тип: boolean
        • isTranslator
          Тип: boolean
        • location
          Тип: string
        • mediaCount
          Тип: integer

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

        • followers
          Тип: integer

          Integer numbers.

        • following
          Тип: integer

          Integer numbers.

        • hasCustomTimelines
          Тип: boolean
        • id
          Тип: string
        • isAutomated
          Тип: boolean
        • isBlueVerified
          Тип: boolean
        • isTranslator
          Тип: boolean
        • location
          Тип: string
        • mediaCount
          Тип: integer

          Integer numbers.

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

          Integer numbers.

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

        Integer numbers.

      • members_preview
        Тип: array object[]
        Пустой объект
      • moderator_count
        Тип: integer

        Integer numbers.

      • name
        Тип: string | null
      • primary_topic
        Тип: object
        • id
          Тип: string | null
        • name
          Тип: string | null
      • question
        Тип: string | null
      • role
        Тип: string | null
      • rules
        Тип: array object[]
        • description
          Тип: string
        • id
          Тип: string
        • name
          Тип: string
      • search_tags
        Тип: array string[]
    • msg
      Тип: string
    • status
      Тип: string enum
      значения
      • success
      • error
    application/json
  • 400

    Запрос не удалось обработать. Проверьте параметры запроса.

  • 401

    Требуется действительный API-ключ Felo.

  • 402

    Запрос не может быть выполнен: не выполнено требование биллинга.

  • 403

    Аккаунту не разрешено выполнять эту операцию.

  • 429

    Достигнут лимит запросов или расходов.

  • 502

    Сервис не смог выполнить запрос.

  • 503

    API или сервис биллинга временно недоступны.

  • 504

    Истекло время ожидания обработки запроса.

  • default

    Ответ с ошибкой; сквозные ответы upstream могут использовать форматы провайдера

    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

Нужна помощь?