9

Google Chrome script that allows user to mass unfollow instagram users on user's...

 2 years ago
source link: https://gist.github.com/chaodonghu/c942b6ca8f8c247ccacd3b0123ff3580
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Google Chrome script that allows user to mass unfollow instagram users on user's profile · GitHub

Instantly share code, notes, and snippets.

Google Chrome script that allows user to mass unfollow instagram users on user's profile

isnt really working cause instagram isnt fast enough to scroll down and load more followings. script stops with the message "you follow no one".

isnt really working cause instagram isnt fast enough to scroll down and load more followings. script stops with the message "you follow no one".

Can you paste a screenshot? On line 30, I scroll the button into view. The "You follow no one" will appear once the max attempts to unfollow is reached which in this case is 3. I have a comment there to increase it if you're computer/browser/internet is slow. If you increase the max attempts to say 10+ then it might solve your problem.

Screen Shot 2020-11-05 at 4 49 20 PM

increasing the max attempts isnt working for me. itll stop after a certain point

https://i.imgur.com/IW2E8wF.png

if im scrolling myself its working. scroll function might be broke cause it didnt detect the unfollow button after X scrolls

if im scrolling myself its working. scroll function might be broke cause it didnt detect the unfollow button after X scrolls

It shouldn't be the case, are you minimizing the window or navigating to another tab? The scroll function only works if the tab is either focussed or active. You can put the chrome window to the side.

Window is focused... still not working :/

i think the scrolling works but its not enough to trigger the infinite loading from instagram to fetch new people to unfollow

can u build a check to increase the waiting timer if instagram resonse with a 429 code to my request. unfollowing isnt possible as long as instagram shows the 429.

can u build a check to increase the waiting timer if instagram resonse with a 429 code to my request. unfollowing isnt possible as long as instagram shows the 429.

A 429 HTTP Response is built in to limit requests, it means you're are sending too many requests. I think that is the root of your problem lol. https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429#:~:text=The%20HTTP%20429%20Too%20Many,before%20making%20a%20new%20request.

I would recommend increasing the randomTimeout time.

still not working. increased the timer (now the 429 error isnt showing) but it wont scroll...

Author

chaodonghu commented on Nov 12, 2020

still not working. increased the timer (now the 429 error isnt showing) but it wont scroll...

I've tested this over the weekend and was able to unfollow 300+ users on my profile. Make sure to not minimize the tab or navigate away from it and open a new chrome window if you want to leave it running in the background. I've increased the timeout in the default code and added some comments. Let me know if you're still getting the same issue.

GBG7 commented on Nov 15, 2020

still not working. increased the timer (now the 429 error isnt showing) but it wont scroll...

I've tested this over the weekend and was able to unfollow 300+ users on my profile. Make sure to not minimize the tab or navigate away from it and open a new chrome window if you want to leave it running in the background. I've increased the timeout in the default code and added some comments. Let me know if you're still getting the same issue.

hello, i have the same issue. i changed the max attempts to 11, i increased the timeout to " (Math.floor((Math.random() * 10) + 1) * 1000) + 70000" but it still hit me with the "you follow no one" after i left it running. I stayed on the same tab.

dk what to do

Author

chaodonghu commented on Dec 11, 2020

If this helped you, please leave a comment below or support me at:

Why does the followers number just pop back up to some random number which is still less than what used to be...

Sometimes it even shows a number but I still follow no one

Hello?

Author

chaodonghu commented on Sep 14, 2021

Why does the followers number just pop back up to some random number which is still less than what used to be...

@Ironyte can you post a screenshot of the problem or elaborate, i'm not understanding the issue. Are you referring to once the script is run even though you follow no one the instagram interface still shows you follow users?

Can you take a screenshot of the console to see if there are any errors that appear.

Why does the followers number just pop back up to some random number which is still less than what used to be...

@Ironyte can you post a screenshot of the problem or elaborate, i'm not understanding the issue. Are you referring to once the script is run even though you follow no one the instagram interface still shows you follow users?

Can you take a screenshot of the console to see if there are any errors that appear.

Thats exactly what happens

Why does the followers number just pop back up to some random number which is still less than what used to be...

@Ironyte can you post a screenshot of the problem or elaborate, i'm not understanding the issue. Are you referring to once the script is run even though you follow no one the instagram interface still shows you follow users?
Can you take a screenshot of the console to see if there are any errors that appear.

Thats exactly what happens

Also gotta say I set random timeout to near-zero cause some hacker had added 3k accounts in my following list and I needed my account back to normal as fast as possible

Why does the followers number just pop back up to some random number which is still less than what used to be...

@Ironyte can you post a screenshot of the problem or elaborate, i'm not understanding the issue. Are you referring to once the script is run even though you follow no one the instagram interface still shows you follow users?
Can you take a screenshot of the console to see if there are any errors that appear.

Thats exactly what happens

Also gotta say I set random timeout to near-zero cause some hacker had added 3k accounts in my following list and I needed my account back to normal as fast as possible

@Ironyte If you're sending too many requests (AKA unfollows) in a short time, you will get rate limited (or sometimes get banned if you send too many requests in a very very short time). Also, follower numbers increasing means the hacker is still in your account still following more people, so please change your passwords and clean your devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK