public function getRecentMedia($tag, $count = null, $minTagId = null, $maxTagId = null)
    {
        $params = ['query' => [
            'count'      => $count,
            'min_tag_id' => $minTagId,
            'max_tag_id' => $maxTagId,
        ]];
        return $this->client->request('GET', "tags/$tag/media/recent", $params);
    }
public function getRecentMedia($tag, $count = null, $minTagId = null, $maxTagId = null)
    {
        $params = ['query' => [
            'count'      => $count,
            'min_tag_id' => $minTagId,
            'max_tag_id' => $maxTagId,
        ]];
        return $this->client->request('GET', "tags/$tag/media/recent", $params);
    }
public function getRecentMedia ( $ tag , $ count = null , $ minTagId = null , $ maxTagId = null ) { $ params = [ 'query' => [ 'count' => $ count , 'min_tag_id' => $ minTagId , 'max_tag_id' => $ maxTagId , ] ] ; return $ this -> client -> request ( 'GET' , "tags/$tag/media/recent" , $ params ) ; }
Get a list of recently tagged media.

@param string      $tag       Name of the tag
@param int|null    $count     Count of tagged media to return
@param string|null $minTagId  Return media before this min_tag_id
@param string|null $maxTagId  Return media after this max_tag_id

@return Response

@link https://www.instagram.com/developer/endpoints/tags/#get_tags_media_recent
Get a list of recently tagged media .