Hi together,
I still get this endless "unusual login attempt"-loop with some accounts. Here are some details about the accounts:
Since 3 days now I have to click the "It was me"-button for every login attempt. At issue #1074 the solution has been to type in the security code. But instead of getting the message "Instagram detected an unusual login attempt" I get the error "CRITICAL Wrong login data!".
Is there any solution for instagram's spam detection improvement from December '17?
Hi @itemimg
did you try bypass_suspicious_attempt arg?
Thanks for your response @uluQulu , the value was "False" by default. Changed to "True" but still not working. Just getting one more message:
"Unable to locate email or phone button, maybe bypass_suspicious_attempt isn't needed anymore."
Btw: After "Cookie file not found, creating cookie" it takes about 60 seconds until "Wrong login data" appears. (not according to the value of bypass_suspicious_attempt)
Try updating your repo, that fixed it for me. I think the problem was the language switch. You can set it to false with the switch_language argument
I used git clone https://github.com/timgrossmann/InstaPy.git on my debian machine some hours ago and set it up new. So it should be the newest repo, am I right? Or is there a command to get the newest repo? Going to trying switch_language thank you
No, this should be the newest version then. Try setting switch_language = False.
session = InstaPy(username=insta_username,
password=insta_password,
switch_language=False
)
I really don't get why, but that somehow fixed it for me. Thanks a lot!!
Is InstaPy only auto-unfollowing users that instapy followed itself? Or does instapy also unfollow users that I followed by my own a year ago?
And if the website design of instagram.com changes, is InstaPy still working?
@itemimg
it has two methods
onlyInstapyFollowed to unfollow people followed by InstaPy (usernames stored in myusername_followedPool.csv)
and
onlyNotFollowMe to unfollow anybody in your following list
InstaPy is using many facilities, even slight change in web page design may or may not affect usability of certain or entire program
But we are here to fix it, the community :-)
Ever since Instagram is available on web browsers, we will be able to use each of the features provided and I don't think they will quit web support any time ;)
Note that, you should use only one of the unfollowing methods and at this time disable the other method
unfollow_users(onlyInstapyFollowed=True, onlyNotFollowMe=False)
The problem is that Instagram knows your location/language. And if you login with a different language, it will be detected as suspicious login attempt. You're probably not from an english-speaking country since Instagram detects the login attempt as suspicious when logging in from the standard language (which is english).
You can actually set this by yourself. Just change the argument onlyInstapyFollowed = True:
session.unfollow_users(amount=10 ,onlyInstapyFollowed = True, ...)
We're trying to keep InstaPy up to date to guarantee a long lifetime of this bot.
Sounds really good, thanks guys!
One more thing about my issue topic: I wanted to make a little web interface for my account where i can see if the bot is currently running and what he is doing. And an interface where I can see if the email-verification code is required and if you have to put it in. I have good knowledge in PHP, but no idea how to get some python responses or actions from web to client (linux command line, no gui)
I also have this on my to-do-list. I thought of solving it via REST API. When I find time to do it I'll keep you up to date!
Thanks a lot, would be very interesting.
I tried "Gramista" today and what the hell.. All accounts that I had trouble with at login (regardless of wheter with Python, Java or PHP API), Gramista has no problem to log in. I didnt even received an activation code via Email or a challenge warning.. nothing. How?
I have the same problem and I can't login..
used bypass_suspicious_attempt=True
I'll add my "me too" to this thread....
After about 3 days of running InstaPy I get prompted to confirm "yes it was me" on both my PC and smartphone and also can no longer login using InstaPy - with or without the bypass_suspicious_attempt and/or switch_language set.
In fact, when I do set bypass_suspicious_attempt and get the code (I get both text and email codes that are different), no nodes work to allow InstaPy to log in. You have to submit a code to get a code to be sent so they may be one behind...
I also did a _git pull origin master_ and also did a _pip install ._ for good measure with no improvement (of course I only installed it on 2/26/18).
Hope this helps.
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
still face this problem, try switch_language=True but didnt work for me
Most helpful comment
The problem is that Instagram knows your location/language. And if you login with a different language, it will be detected as suspicious login attempt. You're probably not from an english-speaking country since Instagram detects the login attempt as suspicious when logging in from the standard language (which is english).
You can actually set this by yourself. Just change the argument
onlyInstapyFollowed = True:We're trying to keep InstaPy up to date to guarantee a long lifetime of this bot.