Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Get Community Info By Id

服务器:https://openapi.felo.ai
客户端库

Twitter / X

​

Query public users, posts, communities and trends.

Get Community Info By Id

​

Get metadata for an X Community by its numeric community ID — name, description, member count, and access rules. Use this to qualify a community before pulling its members or posts. Returns the object under community_info. To discover communities by topic, search their posts with get_twitter_community_tweets_all.

查询参数
  • community_id
    类型: string
    必填

    ID of the community

响应
  • 200
    类型: object · CommunityInfoResponse

    Community info response

    • community_info
      类型: object · CommunityInfo
      • admin
        类型: object · 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 · 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 枚举
      值
      • success
      • error
    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

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": "string",
    "name": "string",
    "description": "string",
    "question": "string",
    "member_count": 1,
    "moderator_count": 1,
    "created_at": "string",
    "join_policy": "string",
    "invites_policy": "string",
    "is_nsfw": true,
    "is_pinned": true,
    "role": "string",
    "primary_topic": {
      "id": "string",
      "name": "string"
    },
    "banner_url": "string",
    "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