From fe91cc8be5314b1cc1e9f56aaea5377a87cfac16 Mon Sep 17 00:00:00 2001 From: Christophe Histaesse Date: Mon, 23 Apr 2018 17:10:44 +0200 Subject: [PATCH] Update Media.php Add imageThumbnailUrl from GraphQL endpoint ACCOUNT_MEDIAS --- src/InstagramScraper/Model/Media.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/InstagramScraper/Model/Media.php b/src/InstagramScraper/Model/Media.php index 6edc7886..d2a9479c 100644 --- a/src/InstagramScraper/Model/Media.php +++ b/src/InstagramScraper/Model/Media.php @@ -476,6 +476,9 @@ protected function initPropertiesCustom($value, $prop, $arr) $this->type = static::TYPE_IMAGE; } break; + case 'thumbnail_src': + $this->imageThumbnailUrl = $value; + break; case 'carousel_media': $this->type = self::TYPE_CAROUSEL; $this->carouselMedia = [];