Skip to content

Commit

Permalink
Update JsonMediaDetailedByShortCodeDataFeed.php
Browse files Browse the repository at this point in the history
for following issue fixed using this change. kindly review it.
#293
  • Loading branch information
nagajoomlapro authored Jun 23, 2022
1 parent b6c2e0f commit 9fc925f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 9fc925f

Please sign in to comment.