mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
require extended mode for tweets
This commit is contained in:
parent
5e5e3d3b45
commit
9db79fe62b
1 changed files with 1 additions and 1 deletions
|
@ -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} =
|
||||
|
|
Loading…
Reference in a new issue