linkfy/Tools-for-Instagram

Feedback required error when unfollowing private accounts

ciprinicu opened this issue · 0 comments

IgActionSpamError: 
POST /api/v1/friendships/destroy/9843433755/ - 400 Bad Request; feedback_required

Code I wrote:

var ulist = [];
    await getFollowing(ig, "##########").then(async () => {
        setTimeout(async function () {
            await readFollowing(ig, "##########").then(l => {
                setTimeout(function () {
                    ulist = l
                    var i = 0;
                    function loop() {
                        setTimeout(async function () {
                            console.log("Unfollowing " + ulist[i].username)
                            await unfollowUser(ig, ulist[i].username).then(() => {
                                console.log("")
                            });
                            i++
                            if (i < ulist.length) {
                                loop();
                            }
                        }, 1500);
                    }
                    loop()
                }, 10000)
            });
        }, 10000)
    });```