Instapy: Suspicious login attempt and how can I bypass!

Created on 5 Feb 2019  ·  19Comments  ·  Source: timgrossmann/InstaPy

Hello , I have a problem with instagram , I have one acount in instagram and I forgot my email password and now when I login to my instagram account instagram had an error this error is ((suspicious login attempt),(we’ve detected an unusual login attempt)) if it possible can someone tell me how can I by pass this error ? I really need my account and I really appreciate.
Best regards.

wontfix

All 19 comments

Look in readme.md. bypass_suspicious_attempt is explained there.

turn off the 2-step verification, and try again with bypass.

Look in readme.md. bypass_suspicious_attempt is explained there.

Hi i look in readme.md. And i install insta py but i have a problem in my insta py folder I don’t have assets folder can some body help me :((

turn off the 2-step verification, and try again with bypass.

some one can help me for how to install insta py i really appreciate him i fllow all instraction but finally i cant run can some body send video for install insta py for windows 10 i see every video in you tube but finally I can’t login!! If it possibel please help me

@groundd how did you install? Did you follow a guide?

@TarekJ03
I use this video
https://m.youtube.com/watch?v=L6VDttSAt2k
And follow all instruction do you have any video that can help me?

@TarekJ03 I really appreciate you for helping me finally I solve my problem and i run instapy but now I have another question i read , readme.md , bypass_suspicious_attempt but when i run insta py and enter my username and password I don’t know where should i paste this code ((session = InstaPy(username=insta_username, password=insta_password, bypass_suspicious_attempt=True))) i mean in wich line in quickstart.py (( at the end i paste ))should i paste this code? and is it necessary to enter my username and password here i mean in this code again? And should i do any thing else if it possible please say what should i do . Best regards
""" Quickstart script for InstaPy usage """

imports

from instapy import InstaPy
from instapy import smart_run

login credentials

insta_username = '' # <- enter username here
insta_password = '' # <- enter password here

get an InstaPy session!

set headless_browser=True to run InstaPy in the background

session = InstaPy(username=insta_username,
password=insta_password,
headless_browser=False)

with smart_run(session):
""" Activity flow """
# general settings
session.set_relationship_bounds(enabled=True,
delimit_by_numbers=True,
max_followers=4590,
min_followers=45,
min_following=77)

session.set_dont_include(["friend1", "friend2", "friend3"])
session.set_dont_like(["pizza", "#store"])

# activity
session.like_by_tags(["natgeo"], amount=10)

You simply need to add , bypass_suspicious_attempt after headless_browser=True.

@TarekJ03 that program driving me crazy 😭

imports

from instapy import InstaPy
from instapy import smart_run

login credentials

insta_username = myyyyy userrrrrnameeeeee'' # <- enter username here
insta_password = 'myyyyyy passsssworddddd' # <- enter password here

get an InstaPy session!

set headless_browser=True to run InstaPy in the background

session = InstaPy(username=Myyyyyyy usernameeee,
password=Myyyyyyyyyyy passwordddddd,
headless_browser=Ture, bypass_suspicious_attempt=Ture)

with smart_run(session):
""" Activity flow """

general settings

session.set_relationship_bounds(enabled=True,
delimit_by_numbers=True,
max_followers=4590,
min_followers=45,
min_following=77)

session.set_dont_include(["friend1", "friend2", "friend3"])
session.set_dont_like(["pizza", "#store"])

# activity
session.like_by_tags(["natgeo"], amount=10)

Dear my friend i have 2 question i fllow all things you say i set ((headless_browser=True)) and after that type bypass_suspicious_attempt=Ture and run application but in python shell says (cookie file not found , creating cookie...
Instagram detected an unusual login attempt
A security code was send to your email
Type security code here:—— )) after i see this message what should i do😭?(( I’m really confused please say it in simple way ))
And my another question are the codes on the top of screen is it correct? Thanks for helping me

You set bypass_suspicious_attempt=Ture, but it should be True instead of Ture. About your 2. question: please read the docs, it's explained there.

@TarekJ03 i’m really sorry my friend🌹 i write true, but when i want to wite it here to show to you i write ture here but i want to know when i run this application after i run when i should change this sentense to false ?

If you're having issues with the "we detected an unusual login attempt" message, you can bypass it setting InstaPy in this way:

session = InstaPy(username=insta_username, password=insta_password, bypass_suspicious_attempt=True)
bypass_suspicious_attempt=True will send the verification code to your email, and you will be prompted to enter the security code sent to your email. It will login to your account, now you can set bypass_suspicious_attempt to False bypass_suspicious_attempt=False and InstaPy will quickly login using cookies.
I’m really appreciate you💐💐

Right after the cookie has been created, you can set it to false.

@TarekJ03 llllll according to the picture should I change(( bypass login to False ))and press F5 again or do any thing else?
when I change to false and press F5 I face with this picture
llllll2
finally I don't know what should I do!!!

You did everything correctly.Seems like there is a problem with the cookie usage/creation.

@TarekJ03 according to the your answer we can’t Bypass Suspicious Login Attempt by instapy finally I really appreciate you.
Good luck.

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

Hi dear

Did you know suspicious login attempt that out but im sad. I still didn’t work because im have changing new number than old number remain on my account. I wanna back right now 😔💔 ... now im need security code that before old number it when im over 😭. Just im disappointed. Please help me! You believe me though im waiting ..

image
someone help me?

now it is -
image

Was this page helpful?
0 / 5 - 0 ratings