InstaPy / InstaPy

📷 Instagram Bot - Tool for automated Instagram interactions
GNU General Public License v3.0
16.85k stars 3.77k forks source link

In log say Liked but not like in real #1030

Closed RafaelLee closed 5 years ago

RafaelLee commented 6 years ago

Im monitoring in the general log, and we have that: image

But, in real what happends: nothing image

And that is my quickstart file: image

If someone know how help me, thanks :+1:

ugurozturk commented 6 years ago

@RafaelLee You are right. Mine is also didn't liked. And i checked from the instagram history, im realized, my bot did like 1 day ago. Tried manuel like and yeah i can do it without problem. So the bot fails.

Edit : It does work well in Windows10. Going to checksomething Edit2 : restarted the script and changed blacklist name and it did work. It did like Edit3 : Did revert blacklistname to old one and it looks liking again... Edit4 : Sometimes it does like, sometimes it doesn't like doesn't know the reason

ugurozturk commented 6 years ago

New detail : it does adds well blacklist. Checked the username and activity in blacklist. There is no liked/followed to this user before

RafaelLee commented 6 years ago

I think that dont affect me, because I dont use blacklist.

ugurozturk commented 6 years ago

@RafaelLee and your quickstart file is not visible

RafaelLee commented 6 years ago

Im sorry @ugurozturk, I edit now the post...

I try with locations and without, with comment and without, coments with a percentage of 10, 50 and 100.

Likes by hashtags dont work :/

ugurozturk commented 6 years ago

@RafaelLee asking for beeing clear, is your code doesn't like all the time?

It must do likes even like this

session = InstaPy(username=insta_username, password=insta_password, nogui=True)
session.login()
session.set_upper_follower_count(limit=2500)
session.like_by_tags(['tag','tag2'], amount=amountLike)
session.end()
RafaelLee commented 6 years ago

Well, I dont know what is happening...

This is my file: image

The problem continue. If someone can help me, thanks.

gerdmueller2 commented 6 years ago

In the Readme is this hint - maybe you can try this! Put like_by_location under the comments...

Essentially, all the set_* methods have to be before like_by_tags or like_by_locations or unfollow. This is also implicit in all the exmples and quickstart.py

NewyorkDev commented 6 years ago

I had this happen to me, found our that it was that Instagram blocked liking on my account - it happended twice to two accounts. One was only after about 250 likes. Different IP'S different everything.

espipj commented 6 years ago

@NewyorkDev did the log said "Image Liked". Could you at that moment post likes from the mobile/web manually? In facing this issue...

gerdmueller2 commented 6 years ago

@davidrocket posted an solution for this: (same problem, other issues: #1030 #1083 #993

To Fix "Like"-Problem, please replace the line 537 in like_util.py with this line

like_elem[0].click()

Tested and works!

espipj commented 6 years ago

More info here: https://github.com/timgrossmann/InstaPy/pull/1105

Boredude commented 6 years ago

Issue persists for me as well. Comments and following works well. I do not use the blacklist feature

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue