Felo API PlatformFelo API Platform
Tất cả endpoint của X
v0.2.0-beta
OpenAPI 3.1.0

Lấy thông tin cộng đồng theo ID

Máy chủ:https://openapi.felo.ai
Thư viện client

Twitter / X

​

Query public users, posts, communities and trends.

Lấy thông tin cộng đồng theo ID

​

Lấy siêu dữ liệu của một Cộng đồng X theo ID cộng đồng dạng số — tên, mô tả, số thành viên và quy tắc truy cập. Dùng để đánh giá cộng đồng trước khi lấy thành viên hoặc bài đăng. Trả về đối tượng trong community_info. Để khám phá cộng đồng theo chủ đề, hãy tìm kiếm bài đăng của họ bằng get_twitter_community_tweets_all.

Tham chiếu giá

  • Đo lường: Cơ sở chi phí cố định theo yêu cầu thành công.
  • Ước tính tham chiếu cho mỗi yêu cầu: USD 0.0002.
  • Hệ số khách hàng tham chiếu: 1.0. Không áp dụng lại cho số tiền khách hàng đã quyết toán.

Chỉ là siêu dữ liệu tham chiếu, không phải báo giá cho tài khoản, mức giá được bảo đảm hay hạn mức chi tiêu. Tín dụng tài nguyên không phải tín dụng Felo. Khoản phí cuối cùng tuân theo bản ghi thanh toán của Felo.

Tham số truy vấn
  • community_id
    Kiểu: string
    bắt buộc

    ID của cộng đồng

Phản hồi
  • 200
    Kiểu: object · Response8D25370A403A_CommunityInfoResponse

    Phản hồi thông tin cộng đồng

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

          Integer numbers.

        • followers
          Kiểu: integer

          Integer numbers.

        • following
          Kiểu: integer

          Integer numbers.

        • hasCustomTimelines
          Kiểu: boolean
        • id
          Kiểu: string
        • isAutomated
          Kiểu: boolean
        • isBlueVerified
          Kiểu: boolean
        • isTranslator
          Kiểu: boolean
        • location
          Kiểu: string
        • mediaCount
          Kiểu: integer

          Integer numbers.

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

          Integer numbers.

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

          Integer numbers.

        • followers
          Kiểu: integer

          Integer numbers.

        • following
          Kiểu: integer

          Integer numbers.

        • hasCustomTimelines
          Kiểu: boolean
        • id
          Kiểu: string
        • isAutomated
          Kiểu: boolean
        • isBlueVerified
          Kiểu: boolean
        • isTranslator
          Kiểu: boolean
        • location
          Kiểu: string
        • mediaCount
          Kiểu: integer

          Integer numbers.

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

          Integer numbers.

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

        Integer numbers.

      • members_preview
        Kiểu: array object[]
        Đối tượng rỗng
      • moderator_count
        Kiểu: integer

        Integer numbers.

      • name
        Kiểu: string | null
      • primary_topic
        Kiểu: object
        • id
          Kiểu: string | null
        • name
          Kiểu: string | null
      • question
        Kiểu: string | null
      • role
        Kiểu: string | null
      • rules
        Kiểu: array object[]
        • description
          Kiểu: string
        • id
          Kiểu: string
        • name
          Kiểu: string
      • search_tags
        Kiểu: array string[]
    • msg
      Kiểu: string
    • status
      Kiểu: string enum
      giá trị
      • success
      • error
    application/json
  • 400

    Không thể xử lý yêu cầu. Hãy kiểm tra các tham số yêu cầu.

  • 401

    Cần có khóa API Felo hợp lệ.

  • 402

    Không thể tiếp tục yêu cầu vì chưa đáp ứng yêu cầu thanh toán.

  • 403

    Tài khoản không được phép thực hiện thao tác này.

  • 429

    Đã đạt giới hạn yêu cầu hoặc giới hạn chi tiêu.

  • 502

    Dịch vụ không thể hoàn tất yêu cầu.

  • 503

    API hoặc dịch vụ thanh toán tạm thời không khả dụng.

  • 504

    Dịch vụ đã hết thời gian chờ khi xử lý yêu cầu.

  • default

    Phản hồi lỗi; phản hồi chuyển tiếp từ thượng nguồn có thể dùng định dạng của nhà cung cấp

    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