shine-jayakumar / insta-likecom-bot

Automates likes and comments on an instagram account or tag
MIT License
136 stars 29 forks source link

Liking function seems to be not working well #124

Open akikingn opened 5 months ago

akikingn commented 5 months ago

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 commented 5 months ago

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 commented 4 months ago

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

--------------- 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

viictorh commented 4 months ago

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 commented 4 months ago

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