Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Get twitter author url with https

Uku Taht0788558b2b88
diff --git a/lib/mix/tasks/fetch_tweets.ex b/lib/mix/tasks/fetch_tweets.ex
index 42e678dea6..c4fa3203c3 100644
--- a/lib/mix/tasks/fetch_tweets.ex
+++ b/lib/mix/tasks/fetch_tweets.ex
@@ -30,7 +30,7 @@ defmodule Mix.Tasks.FetchTweets do
tweet_id: tweet["id_str"],
author_handle: tweet["user"]["screen_name"],
author_name: tweet["user"]["name"],
- author_image: tweet["user"]["profile_image_url"],
+ author_image: tweet["user"]["profile_image_url_https"],
text: html_body(tweet),
created: created
}) |> Repo.insert!(on_conflict: :nothing)