Instapy: Invalid Like Element!

Created on 25 Jul 2018  路  9Comments  路  Source: timgrossmann/InstaPy

Expected Behavior

Like

Current Behavior

Nothing

Possible Solution (optional)

InstaPy configuration

Basic

# settings
session.set_relationship_bounds(enabled=True,
             potency_ratio=-1.21,
              delimit_by_numbers=True,
               max_followers=4590,
                max_following=5555,
                 min_followers=45,
                  min_following=77)
# session.set_do_comment(True, percentage=10)
# session.set_comments(['aMEIzing!', 'So much fun!!', 'Nicey!'])
# session.set_dont_include(['friend1', 'friend2', 'friend3'])
session.set_dont_like(['pizza', 'stupid'])

# actions
session.like_by_tags(['travel'], amount=5)

I set everything correctly, bot is checking each post, works without issue except one. Not liking.
I can always see this:

--> Invalid Like Element!

Don't know why. Instagram changed again buttons for that?
I'm running it locally on my Mac

I've been looking for all existing solutions but nothing work. like_util.py is up to date.
Actually I have Master branch with all latest updates.

Could you help me?

Thanks

Most helpful comment

I have the same issue here

All 9 comments

I have the same issue here

same here

Same problem

I created a fix, not sure if it's good: https://github.com/timgrossmann/InstaPy/pull/2532

+1

Same today .

same here

Its fixed after updating this code !
@ianzitow thanks

@ianzitow it works thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ingorichter picture ingorichter  路  3Comments

seuraltimez picture seuraltimez  路  3Comments

CharlesCCC picture CharlesCCC  路  3Comments

n0sw34r picture n0sw34r  路  3Comments

ghost picture ghost  路  3Comments