From 9fc925f0020c8cda1c1c7f3bd7f93a17eb8e79da Mon Sep 17 00:00:00 2001 From: nagajoomlapro <108052176+nagajoomlapro@users.noreply.github.com> Date: Thu, 23 Jun 2022 13:51:44 +0530 Subject: [PATCH] Update JsonMediaDetailedByShortCodeDataFeed.php for following issue fixed using this change. kindly review it. https://github.com/pgrimaud/instagram-user-feed/issues/293 --- .../Transport/JsonMediaDetailedByShortCodeDataFeed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instagram/Transport/JsonMediaDetailedByShortCodeDataFeed.php b/src/Instagram/Transport/JsonMediaDetailedByShortCodeDataFeed.php index 8800ff5..8608671 100644 --- a/src/Instagram/Transport/JsonMediaDetailedByShortCodeDataFeed.php +++ b/src/Instagram/Transport/JsonMediaDetailedByShortCodeDataFeed.php @@ -19,7 +19,7 @@ class JsonMediaDetailedByShortCodeDataFeed extends AbstractDataFeed */ public function fetchData(Media $media): \StdClass { - $data = $this->fetchJsonDataFeed(InstagramHelper::URL_MEDIA_DETAILED . $media->getShortCode() . '/?__a=1'); + $data = $this->fetchJsonDataFeed(InstagramHelper::URL_MEDIA_DETAILED . $media->getShortCode() . '/?__a=1&__d=dis'); return current($data->items); }