deleteComment({ mediaId, commentId }) {
        mediaId = this.sanitiseMediaId(mediaId);
        let options = Object.assign(this.defaultRequestOptions);
        options["url"] = `https://www.instagram.com/web/comments/${mediaId}/delete/${commentId}/`;
        options["headers"]["X-CSRFToken"] = this.csrfToken;
        return this.fetchPage({ options, isPost: true });
    }
/**
     * Delete a comment. Login required.
     *
     * @param {*} { mediaId, commentId }
     * @returns "{"status": "ok"}"
     * @memberof Fusia
     */
Delete a comment. Login required.
Delete a comment . Login required .
deleteComment({ mediaId, commentId }) {
        mediaId = this.sanitiseMediaId(mediaId);
        let options = Object.assign(this.defaultRequestOptions);
        options["url"] = `https://www.instagram.com/web/comments/${mediaId}/delete/${commentId}/`;
        options["headers"]["X-CSRFToken"] = this.csrfToken;
        return this.fetchPage({ options, isPost: true });
    }
deleteComment ( { mediaId , commentId } ) { mediaId = this . sanitiseMediaId ( mediaId ) ; let options = Object . assign ( this . defaultRequestOptions ) ; options [ "url" ] = ` ${ mediaId } ${ commentId } ` ; options [ "headers" ] [ "X-CSRFToken" ] = this . csrfToken ; return this . fetchPage ( { options , isPost : true } ) ; }
Delete a comment.
Delete a comment .