From 1e336483df949768b008184a412e95a355aa2fb5 Mon Sep 17 00:00:00 2001 From: pseudoyu Date: Thu, 23 Jan 2025 06:24:41 +0800 Subject: [PATCH] feat(route/twitter): add repost url in _extra --- lib/routes/twitter/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/routes/twitter/utils.ts b/lib/routes/twitter/utils.ts index fd206ea424..33fdc91b00 100644 --- a/lib/routes/twitter/utils.ts +++ b/lib/routes/twitter/utils.ts @@ -405,6 +405,7 @@ const ProcessFeed = (ctx, { data = [] }, params = {}) => { (isRetweet && { links: [ { + url: `https://x.com/${item.user?.screen_name}/status/${item.conversation_id_str}`, type: 'repost', }, ],