From 0788558b2b88038cc512dc6348ad6bd8824b33f2 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Wed, 12 Feb 2020 16:03:14 +0200 Subject: [PATCH] Get twitter author url with https --- lib/mix/tasks/fetch_tweets.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mix/tasks/fetch_tweets.ex b/lib/mix/tasks/fetch_tweets.ex index 42e678dea..c4fa3203c 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)