Skip to content

Commit 0417483

Browse files
wlonklyclaude
andcommitted
fix: use get_actor_likes instead of get_likes for liked posts
The get_likes method expects a post URI to return who liked it. Use get_actor_likes with actor param to get posts liked by user. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent f758a91 commit 0417483

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/bluesky_mcp/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ async def handle_call_tool(
239239
limit = arguments.get("limit", 50)
240240
cursor = arguments.get("cursor")
241241
response = await asyncio.to_thread(
242-
bluesky.client.app.bsky.feed.get_likes,
243-
{'uri': IDENTIFIER, 'limit': limit, 'cursor': cursor}
242+
bluesky.client.app.bsky.feed.get_actor_likes,
243+
{'actor': IDENTIFIER, 'limit': limit, 'cursor': cursor}
244244
)
245245

246246
elif name == "bluesky_get_personal_feed":

0 commit comments

Comments
 (0)