commit cfa038834865172148926d4afb900ce98e850911
parent 71e809f39ddaf6cf3ac54b5b393c41b57250aaee
Author: MTRNord <mtrnord1@gmail.com>
Date: Mon, 26 Mar 2018 21:36:55 +0200
Apparently I missed to tell twitter I want to link a status
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/twitter/twitter.go b/twitter/twitter.go
@@ -233,7 +233,7 @@ func (t *TwitterAPI) GetTweets(tweets []int64) ([]byte, error) {
JT.UserID = t.User.IdStr
JT.DisplayName = t.User.Name
JT.UserProfileLink = "https://twitter.com/" + t.User.ScreenName
- JT.TweetLink = "https://twitter.com/" + t.User.ScreenName + "/" + t.IdStr
+ JT.TweetLink = "https://twitter.com/" + t.User.ScreenName + "/status/" + t.IdStr
if t.ExtendedTweet.FullText != "" {
JT.Text = t.ExtendedTweet.FullText
} else if t.FullText != "" {