admin管理员组

文章数量:1406060

The Bluesky API shows an endpoint where you can batch up to 25 profiles in a single request: Bluesky Fetching Multiple Profiles The Individual call works fine like this : /xrpc/app.bsky.actor.getProfile?actor=did:plc:iohbateayghxus42enyazewi but the multiple endpoint seems to want something else, as this does not work /xrpc/app.bsky.actor.getProfiles?actors=did:plc:iohbateayghxus42enyazewi,did:plc:6ld2arsgbla45mkwluyih4ab

{ "error": "InvalidRequest", "message": "Error: actors/0 must be a valid did or a handle" }

The Bluesky API shows an endpoint where you can batch up to 25 profiles in a single request: Bluesky Fetching Multiple Profiles The Individual call works fine like this : https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor=did:plc:iohbateayghxus42enyazewi but the multiple endpoint seems to want something else, as this does not work https://public.api.bsky.app/xrpc/app.bsky.actor.getProfiles?actors=did:plc:iohbateayghxus42enyazewi,did:plc:6ld2arsgbla45mkwluyih4ab

{ "error": "InvalidRequest", "message": "Error: actors/0 must be a valid did or a handle" }

Share Improve this question edited Mar 7 at 11:47 VLAZ 29.2k9 gold badges63 silver badges84 bronze badges asked Mar 6 at 15:34 GandalfGandalf 9,8558 gold badges58 silver badges91 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Well figured it out, sort of odd but the correct format is to use & between each actor as such :

https://public.api.bsky.app/xrpc/app.bsky.actor.getProfiles?actors=did:plc:iohbateayghxus42enyazewi&actors=did:plc:6ld2arsgbla45mkwluyih4ab

本文标签: httpBluesky APIbulk retrieve Profile InformtionStack Overflow