From 7c56ae13e6cec14531d246948e2c4400009c4d82 Mon Sep 17 00:00:00 2001 From: gutmet Date: Mon, 19 Oct 2020 08:05:57 +0200 Subject: [PATCH] add tweet_mode=extended to retweet --- requests.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/requests.go b/requests.go index fee3de0..f14039d 100644 --- a/requests.go +++ b/requests.go @@ -38,7 +38,7 @@ func UserTimelineParameters(flags userTimelineFlags, screenName string) string { } func RetweetParameters(id string) string { - return id + ".json" + return id + ".json?tweet_mode=extended" } func LikeRequest(id string) url.Values { @@ -50,10 +50,11 @@ func LikeRequest(id string) url.Values { func UnlikeRequest(id string) url.Values { return map[string][]string{ - "id": {id}, + "id": {id}, + "tweet_mode": {"extended"}, } } func DestroyParameters(id string) string { - return id + ".json" + return id + ".json?tweet_mode=extended" }