You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mohaimenulislamshawon I'm working on migrating this feature towards the Mobile class. I'll update you once it's done and you shall be able to work with posts without any issues.
---> 10 post_id = host.get_post_id("https://www.instagram.com/p/C35mRy0sECT/")
11 print(post_id)
12 host.like(post_id)
/usr/local/lib/python3.10/dist-packages/ensta/SessionHost.py in get_post_id(self, share_url)
664
665 initial_index = response_text.find(required_text)
--> 666 if initial_index == -1: raise APIError()
667
668 rest_text = response_text[initial_index + len(required_text): initial_index + len(required_text) + 25]
The text was updated successfully, but these errors were encountered: