diff --git a/src/Instagram.php b/src/Instagram.php index 1fb70f2..308f728 100644 --- a/src/Instagram.php +++ b/src/Instagram.php @@ -378,13 +378,21 @@ public function getTag($name) * * @return mixed */ - public function getTagMedia($name, $limit = 0) + public function getTagMedia($name, $limit = 0, $minTag = null, $maxTag = null ) { $params = array(); if ($limit > 0) { $params['count'] = $limit; } + + if( $minTag ) { + $params['min_tag_id'] = $minTag; + } + + if( $maxTag ) { + $params['max_tag_id'] = $maxTag; + } return $this->_makeCall('tags/' . $name . '/media/recent', false, $params); }