Skip to content

Commit

Permalink
1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketapi-io committed Oct 13, 2023
1 parent 25d02de commit 1b6d42e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/InstagramAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public function getUserMedia($user_id, $count=12, $max_id=null) {
* @throws Exceptions\NotFoundException
* @throws Exceptions\BadResponseException
*/
public function getUserClips($user_id, $max_id=null) {
$payload = ['id' => $user_id];
public function getUserClips($user_id, $count=12, $max_id=null) {
$payload = ['id' => $user_id, 'count' => $count];
if ($max_id) {
$payload['max_id'] = $max_id;
}
Expand Down

0 comments on commit 1b6d42e

Please sign in to comment.