twitterchiver/related_fetcher: use tweet_mode=extended (d'oh)
This commit is contained in:
parent
bb33b8fae0
commit
7003f84fb7
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
// 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 {
|
if err != nil {
|
||||||
log.Printf("[%v:%d:%d] Constructing GET request: %v", cfg.Name, t.ID, tid, err)
|
log.Printf("[%v:%d:%d] Constructing GET request: %v", cfg.Name, t.ID, tid, err)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue