From 7f4d306c43fc966f8b71a0e1025f10a7930202a8 Mon Sep 17 00:00:00 2001 From: Mohamed Osama <267492103+mohamedorigami-jpg@users.noreply.github.com> Date: Tue, 23 Jun 2026 16:40:14 +0300 Subject: [PATCH] docs(scraper): clarify that fetchLikedTweets only returns authenticated user's likes --- src/scraper.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/scraper.ts b/src/scraper.ts index 565258b5..336485af 100644 --- a/src/scraper.ts +++ b/src/scraper.ts @@ -263,8 +263,10 @@ export class Scraper { } /** - * Fetch the tweets a user has liked - * @param userId The user whose liked tweets should be returned + * Fetch liked tweets for the authenticated user. + * Note: This endpoint only returns results for your own account. + * Querying another user's ID will fail or return empty. + * @param userId Your own user ID (or the target user's screen name resolved to ID) * @param maxTweets The maximum number of tweets to return. * @param cursor The search cursor, which can be passed into further requests for more results. * @returns A page of results, containing a cursor that can be used in further requests.