檢查目前的 Bluesky 回跟狀態

GET/tools/follow-back-checker

以 DID 比對最多 500 位跟隨者和 500 個跟隨中的帳號。否定的關係需要完整的另一份清單;否則維持未知。只讀取公開資料,不追蹤歷史取消跟隨記錄。消耗 6 次呼叫。

參數

名稱位置類型說明
q (必填)querystring公開的 Bluesky 帳號代碼、DID 或個人檔案連結。

回應

狀態碼說明內容
200工具的回答,附上其頁面的標準 URL。ToolFollowBackChecker
400查詢參數無效(代碼 `bad_request`)。Error
401權杖不明、已過期或已撤銷(代碼 `unauthorized`)。沒有 `Authorization` 標頭時,工具會以匿名方式回答。Error
404找不到。在機械人的帳號代碼子網域上也會傳回此結果:API 僅在主站提供。Error
429已達速率限制:依 IP 計算 `toolsApi`(每分鐘 60 次)和 `toolsApiDaily`(每天 2,000 次),使用創作者權杖時依帳號計算,兩者皆為 10 倍。會分散發出多個請求的工具,消耗不只一次呼叫。Error
500未預期的錯誤。Error
502工具查詢的服務沒有回應(代碼 `upstream_error`)。Error

範例

bash
curl \
  -G \
  --data-urlencode "q=demo.bluesky.bot" \
  -H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
  https://bluesky.bot/api/v1/tools/follow-back-checker

結構描述

Error

欄位類型說明
error (必填)object
error.code (必填)string: "bad_request", "invalid_handle", "not_found", "rate_limited", "internal_error", "unauthorized", "forbidden", "conflict", "invalid_grant", "upstream_error", "insufficient_scope", "invalid_listing", "consent_required"
error.message (必填)string
error.reasonstring搭配 `invalid_handle`、`invalid_listing`、`conflict` 和 `forbidden`:例如 `reserved`、`taken`、`too_long`、`no_handle`、`suspended`。
error.urlstring, uri搭配 consent_required:開啓此控制台頁面以授權編輯個人檔案。
error.fieldstring搭配 `invalid_listing`:遭拒絕的欄位。
error.scopestring搭配 `insufficient_scope`:權杖缺少的範圍。
error.parameterstring無效的查詢參數。
error.retryAfterSecondsinteger (1–)搭配 `rate_limited`。

ToolFollowBackChecker

欄位類型說明
tool (必填)string = "follow-back-checker"工具的 slug。
url (必填)string工具在 Bluesky.bot 上頁面的標準 URL。
result (必填)object工具的回答。
result.profile (必填)object檢查的公開帳號。
result.profile.did (必填)string穩定的公開帳號識別碼。
result.profile.handle (必填)string目前觀察到的帳號代碼。
result.profile.displayName (必填)string | null公開的顯示名稱(若有提供)。
result.capturedAt (必填)string擷取時間(UTC);公開清單不是不可分割的快照。
result.followers (必填)object跟隨者清單的涵蓋範圍。
result.followers.examined (必填)integer檢查過的上游項目,包括被省略的項目。
result.followers.visible (必填)integer觀察到的不重複可見帳號。
result.followers.complete (必填)boolean只有在清單完整結束、沒有省略,且與個人檔案上的數字相符時才是 true。
result.followers.reason (必填)string: "complete", "cap", "deadline", "unavailable", "incomplete"清單涵蓋範圍完整或受限的原因。
result.following (必填)object跟隨中清單的涵蓋範圍。
result.following.examined (必填)integer檢查過的上游項目,包括被省略的項目。
result.following.visible (必填)integer觀察到的不重複可見帳號。
result.following.complete (必填)boolean只有在清單完整結束、沒有省略,且與個人檔案上的數字相符時才是 true。
result.following.reason (必填)string: "complete", "cap", "deadline", "unavailable", "incomplete"清單涵蓋範圍完整或受限的原因。
result.groups (必填)object[]目前的關係,不含跟隨日期,也不推論歷史取消跟隨記錄。
result.groups[].kind (必填)string: "mutual", "notFollowingBack", "notFollowedBack", "unknown"目前觀察到的關係;另一份清單不完整時為 unknown。
result.groups[].count (必填)integer此羣組中觀察到的可見帳號。
result.groups[].accounts (必填)object[]此羣組中的前 100 個帳號;絕不包含隱藏的身份。
result.groups[].accounts[].did (必填)string穩定的公開帳號識別碼。
result.groups[].accounts[].handle (必填)string目前觀察到的帳號代碼。
result.groups[].accounts[].displayName (必填)string | null公開的顯示名稱(若有提供)。