Skip to content

Commit db6bbe5

Browse files
Set getTagMedia method as an authentication method.
1 parent 15d0753 commit db6bbe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Instagram.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function getTag($name) {
314314
* @return mixed
315315
*/
316316
public function getTagMedia($name, $limit = 0) {
317-
return $this->_makeCall('tags/' . $name . '/media/recent', false, array('count' => $limit));
317+
return $this->_makeCall('tags/' . $name . '/media/recent', true, array('count' => $limit));
318318
}
319319

320320
/**

0 commit comments

Comments
 (0)