From 9db79fe62bdbd5b8f252012d1e68b18de0449c00 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Thu, 28 Nov 2019 23:56:01 -0500 Subject: [PATCH] require extended mode for tweets --- lib/philomena/scrapers/twitter.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena/scrapers/twitter.ex b/lib/philomena/scrapers/twitter.ex index 1fab2ba4..6ab05483 100644 --- a/lib/philomena/scrapers/twitter.ex +++ b/lib/philomena/scrapers/twitter.ex @@ -34,7 +34,7 @@ defmodule Philomena.Scrapers.Twitter do [user, status_id] = Regex.run(@url_regex, url, capture: :all_but_first) mobile_url = "https://mobile.twitter.com/#{user}/status/#{status_id}" - api_url = "https://api.twitter.com/2/timeline/conversation/#{status_id}.json" + api_url = "https://api.twitter.com/2/timeline/conversation/#{status_id}.json?tweet_mode=extended" url = "https://twitter.com/#{user}/status/#{status_id}" {gt, bearer} =