Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liking function seems to be not working well #124

Open
akikingn opened this issue Apr 17, 2024 · 4 comments
Open

Liking function seems to be not working well #124

akikingn opened this issue Apr 17, 2024 · 4 comments

Comments

@akikingn
Copy link

Hello,

I'm experiencing an issue that I can't quite pinpoint. For the past few days, my script is successfully executing the LIKE function, but in reality, it doesn't seem to be registering. Sometimes, only 1 out of 10 attempts to LIKE a post is successful. Although the LIKE button appears to be pressed in the GUI, with the cursor over it and showing a grayish color, it doesn't actually change to a red-colored LIKE, suggesting it's not working.

Could this be due to a recent Instagram update? I'm looking forward to any solutions you might have. Keep up the great work and have a wonderful day!

@shine-jayakumar
Copy link
Owner

If like button is grayed out then it could be disabled. If it is clicking on the like button and it turns red, and yet not registering then Instagram might have detected too many likes, comments, etc., in little interval. Try adding -d 5 maybe to allow enough time between posts and also adjust the parameters in the stats file.

Let me know if there was any error related to 'like' operation in the logs.

I will rerun tests and check if we have any UI updates from Instagram.

@diazalejandra
Copy link

diazalejandra commented Apr 24, 2024

Hello! I join the consultation. The script seems to work fine (no errors), but the likes are not really being given.
Thank you very much for your work.

I attach part of the log file:

[*] => [target: biobiochile] Moving on to the next post [*] => [target: biobiochile] Waiting for 3 seconds [*] => [like]: Attempt - 1 [*] => Finding like button [*] => [target: biobiochile] Moving on to the next post [*] => [target: biobiochile] Waiting for 10 seconds [*] => [like]: Attempt - 1 [*] => Finding like button [*] => [target: biobiochile] Moving on to the next post [*] => [target: biobiochile] Waiting for 10 seconds [*] => [like]: Attempt - 1 [*] => Finding like button [*] => [target: biobiochile] Moving on to the next post [*] => [target: biobiochile] Waiting for 10 seconds [*] => Script finished successfully [*] => [accounts]: 3 [*] => [private_accounts]: 0 [*] => [likes]: 6 [*] => [comments]: 0 [*] => [comment_likes]: 0 [*] => [stories]: 0 [*] => [story_likes]: 0 [*] => [story_comments]: 0 [*] => [reels]: 0 [*] => [reel_likes]: 0 [*] => [reel_comments]: 0 [*] => [reel_comment_likes]: 0 [*] => [tref]: 1713931286.50183 --------------- Stats ----------------- accounts : 3 private_accounts : 0 likes : 6 comments : 0 comment_likes : 0 stories : 0 story_likes : 0 story_comments : 0 reels : 0 reel_likes : 0 reel_comments : 0 reel_comment_likes : 0 session_st : 1713931598.441953 -------------------------------------- [*] => Total time taken: 125.6857 seconds
  • Update: It works fine on Firefox. In Chrome the error remains.

@viictorh
Copy link

It's happening with me too. It access the page, counts the like, but it's not given. It seems that like is working only for reels, but not for stories, posts, and comments.
Maybe it needs some update on the locators?

@shine-jayakumar
Copy link
Owner

Thank you @diazalejandra for the logs. Issue is recognized. I will update the locators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants