Skip to content

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketapi-io committed May 24, 2023
1 parent 49666fb commit 8366b98
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/InstagramAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,18 @@ public function getCommentLikes($comment_id, $max_id=null) {
return $this->request('instagram/comment/get_likes', $payload);
}

/**
* @throws Exceptions\NotFoundException
* @throws Exceptions\BadResponseException
*/
public function getCommentReplies($comment_id, $media_id, $max_id=null) {
$payload = ['id' => $comment_id, 'media_id' => $media_id];
if ($max_id) {
$payload['max_id'] = $max_id;
}
return $this->request('instagram/comment/get_replies', $payload);
}

/**
* @throws Exceptions\NotFoundException
* @throws Exceptions\BadResponseException
Expand Down

0 comments on commit 8366b98

Please sign in to comment.