twitterchiver/related_fetcher: use tweet_mode=extended (d'oh)

This commit is contained in:
Luke Granger-Brown 2020-10-22 21:15:01 +00:00
parent bb33b8fae0
commit 7003f84fb7

View file

@ -356,7 +356,7 @@ func relatedFetchTick(ctx context.Context, cfg WorkerConfig) error {
}
// We don't have it already; let's fetch it from ze Twitterz.
req, err := http.NewRequest("GET", fmt.Sprintf("https://api.twitter.com/1.1/statuses/show.json?id=%d&include_entities=true&include_ext_alt_text=true", tid), nil)
req, err := http.NewRequest("GET", fmt.Sprintf("https://api.twitter.com/1.1/statuses/show.json?id=%d&include_entities=true&include_ext_alt_text=true&tweet_mode=extended", tid), nil)
if err != nil {
log.Printf("[%v:%d:%d] Constructing GET request: %v", cfg.Name, t.ID, tid, err)
return