http - Bluesky API - bulk retrieve Profile Informtion - Stack Overflow

The Bluesky API shows an endpoint where you can batch up to 25 profiles in a single request: Bluesky Fe

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744965494a4603654.html

相关推荐

  • http - Bluesky API - bulk retrieve Profile Informtion - Stack Overflow

    The Bluesky API shows an endpoint where you can batch up to 25 profiles in a single request: Bluesky Fe

    1天前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信