MyIGBot is a Private API for Instagram to like, follow, comment, view & intaract with stories, upload post & stories, get all information about a user/posts and get posts based on locations/hashtags. It also supports proxy.
Even the simplest bot would not work as the login would fail due to instagram detecting a suspicious login attempt and requiring verification. Even after verifying the warning, it would still block out the bot every time. What should I do? I have tried logging in using incognito, verifying, and starting up the bot, but this did not fix the issue. Does the bot not work anymore?
EDIT: I tried adding a 2 Factor Authentication to my account, but it still raises the suspi cious login warning, and gives me this error now:
Traceback (most recent call last):
File "C:\Users\\Desktop\Personal Work\\.....\\", line 4, in <module>
bot = MyIGBot('', '')
File "C:\Users\...\AppData\Local\Programs\Python\Python38\lib\site-packages\myigbot\__init__.py", line 178, in __init__
self.sessionid = login_response.headers['Set-Cookie'].split('sessionid=')[1].split(';')[0]
IndexError: list index out of range
Even the simplest bot would not work as the login would fail due to instagram detecting a suspicious login attempt and requiring verification. Even after verifying the warning, it would still block out the bot every time. What should I do? I have tried logging in using incognito, verifying, and starting up the bot, but this did not fix the issue. Does the bot not work anymore?
EDIT: I tried adding a 2 Factor Authentication to my account, but it still raises the suspi cious login warning, and gives me this error now: