流程
將子設定檔設為目標
在後續呼叫中使用回傳的 profile key —— 可以透過連線上的
Profile-Key 標頭,或是作為單次呼叫的 profileKey 參數傳入。有關優先順序請參見 Connect & Setup。產生社群連結 URL
呼叫
generate_jwt_social_linking_url 以產生一個單一登入的連結 URL。JWT 簽章金鑰和匯入網域都在 伺服器端 推導 —— 呼叫端 不需要 提供任何 X-Ayrshare-* 標頭,也不需要提供私密金鑰或網域。前置需求
錯誤狀態
| 條件 | 回應 |
|---|---|
| 未佈建網域 | 400 — “No social-linking domain is provisioned for this account (available on Business/Enterprise plans).” |
| 無簽章金鑰 | 400 — “No signing key found for this account’s social-linking domain.” |
後續步驟
Connect & Setup
身分驗證與設定檔定位。
工具目錄
按領域分組的 27 個工具,包含適用範圍與用途。
