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