@@ -19,32 +19,32 @@ export type TweetCoreProps = {
19
19
}
20
20
21
21
const getTweetUrl = ( tweet : TweetBase ) =>
22
- `https://twitter .com/${ tweet . user . screen_name } /status/${ tweet . id_str } `
22
+ `https://x .com/${ tweet . user . screen_name } /status/${ tweet . id_str } `
23
23
24
24
const getUserUrl = ( usernameOrTweet : string | TweetBase ) =>
25
- `https://twitter .com/${
25
+ `https://x .com/${
26
26
typeof usernameOrTweet === 'string'
27
27
? usernameOrTweet
28
28
: usernameOrTweet . user . screen_name
29
29
} `
30
30
31
31
const getLikeUrl = ( tweet : TweetBase ) =>
32
- `https://twitter .com/intent/like?tweet_id=${ tweet . id_str } `
32
+ `https://x .com/intent/like?tweet_id=${ tweet . id_str } `
33
33
34
34
const getReplyUrl = ( tweet : TweetBase ) =>
35
- `https://twitter .com/intent/tweet?in_reply_to=${ tweet . id_str } `
35
+ `https://x .com/intent/tweet?in_reply_to=${ tweet . id_str } `
36
36
37
37
const getFollowUrl = ( tweet : TweetBase ) =>
38
- `https://twitter .com/intent/follow?screen_name=${ tweet . user . screen_name } `
38
+ `https://x .com/intent/follow?screen_name=${ tweet . user . screen_name } `
39
39
40
40
const getHashtagUrl = ( hashtag : HashtagEntity ) =>
41
- `https://twitter .com/hashtag/${ hashtag . text } `
41
+ `https://x .com/hashtag/${ hashtag . text } `
42
42
43
43
const getSymbolUrl = ( symbol : SymbolEntity ) =>
44
- `https://twitter .com/search?q=%24${ symbol . text } `
44
+ `https://x .com/search?q=%24${ symbol . text } `
45
45
46
46
const getInReplyToUrl = ( tweet : Tweet ) =>
47
- `https://twitter .com/${ tweet . in_reply_to_screen_name } /status/${ tweet . in_reply_to_status_id_str } `
47
+ `https://x .com/${ tweet . in_reply_to_screen_name } /status/${ tweet . in_reply_to_status_id_str } `
48
48
49
49
export const getMediaUrl = (
50
50
media : MediaDetails ,
0 commit comments