Skip to content

Commit

Permalink
Merge pull request #295 from nagajoomlapro/patch-1
Browse files Browse the repository at this point in the history
Update JsonMediaDetailedByShortCodeDataFeed.php
  • Loading branch information
pgrimaud authored Jun 23, 2022
2 parents b6c2e0f + 9fc925f commit 9aa1520
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 9aa1520

Please sign in to comment.