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.

按 ID 获取社群信息

​

按数字社群 ID 获取 X 社群的元数据——名称、描述、成员数和访问规则。用它先评估社群,再拉取其成员或帖子。对象位于 community_info 下。要按主题发现社群,请用 get_twitter_community_tweets_all 搜索其帖子。

计费参考

  • 计量方式:按成功请求的固定成本计费。
  • 参考请求估算:0.0002 美元。
  • 参考客户倍率:1.0。不得对已结算的客户金额再次应用。

仅供参考的元数据,不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。

查询参数
  • 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 枚举
      值
      • success
      • error
    application/json
  • 400

    无法处理该请求。请检查请求参数。

  • 401

    需要有效的 Felo API 密钥。

  • 402

    由于未满足计费要求,请求无法继续。

  • 403

    该账户无权执行此操作。

  • 429

    已达到请求或支出限额。

  • 502

    服务无法完成该请求。

  • 503

    API 或计费服务暂时不可用。

  • 504

    服务在处理请求时超时。

  • default

    错误响应;上游透传响应可能采用提供方格式

    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

需要帮助?