Skip to content

Commit 1b6d42e

Browse files
committed
1.0.6
1 parent 25d02de commit 1b6d42e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/InstagramAPI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ public function getUserMedia($user_id, $count=12, $max_id=null) {
7373
* @throws Exceptions\NotFoundException
7474
* @throws Exceptions\BadResponseException
7575
*/
76-
public function getUserClips($user_id, $max_id=null) {
77-
$payload = ['id' => $user_id];
76+
public function getUserClips($user_id, $count=12, $max_id=null) {
77+
$payload = ['id' => $user_id, 'count' => $count];
7878
if ($max_id) {
7979
$payload['max_id'] = $max_id;
8080
}

0 commit comments

Comments
 (0)