Skip to content

Commit

Permalink
Added replyToCommentId to addComment
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes authored and timolins committed Feb 5, 2019
1 parent f1b3934 commit a6fb898
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,9 @@ class Instagram {
)
}

async addComment({ mediaId, text }) {
async addComment({ mediaId, text, replyToCommentId }) {
return this.request.post(`/web/comments/${mediaId}/add/`, {
form: { comment_text: text }
form: { comment_text: text, replied_to_comment_id: replyToCommentId }
})
}

Expand Down

0 comments on commit a6fb898

Please sign in to comment.