diff --git a/scripts/helpers.js b/scripts/helpers.js index fcbf35f0..47e10206 100644 --- a/scripts/helpers.js +++ b/scripts/helpers.js @@ -3153,7 +3153,7 @@ async function appendTweet(t, timelineContainer, options = {}) { } let tweetObject = { status: text, - attachment_url: `/${t.user.screen_name}/status/${t.id_str}` + attachment_url: `https://twitter.com/${t.user.screen_name}/status/${t.id_str}` }; if (uploadedMedia.length > 0) { tweetObject.media_ids = uploadedMedia.join(','); diff --git a/scripts/tweetviewer.js b/scripts/tweetviewer.js index 98435216..02417bd1 100644 --- a/scripts/tweetviewer.js +++ b/scripts/tweetviewer.js @@ -2114,7 +2114,7 @@ class TweetViewer { } let tweetObject = { status: text, - attachment_url: `/${t.user.screen_name}/status/${t.id_str}` + attachment_url: `https://twitter.com/${t.user.screen_name}/status/${t.id_str}` }; if (uploadedMedia.length > 0) { tweetObject.media_ids = uploadedMedia.join(',');