Skip to content

Commit

Permalink
Update Media.php
Browse files Browse the repository at this point in the history
Add imageThumbnailUrl from GraphQL endpoint ACCOUNT_MEDIAS
  • Loading branch information
chistaesse authored Apr 23, 2018
1 parent 817932a commit fe91cc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/InstagramScraper/Model/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit fe91cc8

Please sign in to comment.