Closed orcunbaslak closed 6 years ago
this IG_SIG_KEY key comes from reverse engineering their native app. So it is not really dead easy to tag people and ban them. Not sure what is happening, since other bots have similar issues now.
IG_SIG_KEY is tied to a user-agent. Even if you change one letter in the user-agent; It does not work. So people with the combination of user-agent and IG_SIG_KEY in the config.py can be easily throttled.
Do you have an other user-agent that works with the IG_SIG_KEY?
Br,
IG_SIG_KEY is tied to the version of the IG app. I personally updated the IG_SIG_KEY and the user agent according to the latest in https://github.com/mgp25/Instagram-API and https://github.com/LevPasha/Instagram-API-python (from the later is taken this bot api code.)
@popadiys Did updating the IG_SIG_KEY resolve this issue for you?
@furnacemfg I've never faced the issue myself. But I prefer to have the later IG_SIG_KEY settings than an 3 years old one.
@popadiys Makes sense. IG_SIG_KEY was simple enough to hunt down. Is it possible to update IG_SIG_KEY without updating the USER_AGENT or are the two tied together?
The string replacement for User Agent in https://github.com/mgp25/Instagram-API is fairly involved:
const USER_AGENT_FORMAT = 'Instagram %s Android (%s/%s; %s; %s; %s; %s; %s; %s; %s)';
Is there a guide to get a new IG_SIG_KEY i also get the 400 error
I have this problem, please provide a review and possible solution
same problem , 400 error !
same problem 400 error
400 error means you are showing spam activity and Instagram blocks this. There is no way around this as it is (probably) tracked by username not nescesarilyl the IG_SIG or other session identifiers.
If you stop spamming Instagram you won't get a 400 thrown at you
Anybody care to share thier new config with new ig sig I have one account that's working one that's 400 same computer different i.p. addresses
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.
I have same issue, but after turning of using cookie, then it works fine.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like so [x]).Before submitting an issue, make sure you have:
Purpose of your issue?
The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.
For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.
Paste the output of
python -V
here: Python 2.7.9Code:
Describe your issue
Explanation of your issue goes here. Please make sure the description is worded well enough to be understood with as much context and examples as possible.
I have tried the same script on my own computer, on a VPS and on an other computer. I'm getting the 400 error for likes. Even if the IP changes; the like ban continues.
I also tested a chrome addon called Everliker which works fine (It's a barebone addon that just does web based liking. No follow/unfollow/comment etc).
Whe I worked my way thru the files I saw the config.py where you stored the user-agent and other signature related stuff. I believe since everyone using the same signature for Android 9.2 with IG_SIG_KEY = '012a54f51c49aa8c5c322416ab1410909add32c966bbaa0fe3dc58ac43fd7ede'; It's dead easy for Instagram to tag people who use the python script and avoid liking using instabot while allowing their app on iphone and web to work.
Is there a way to update this value to a much more current one and try again? I don't believe VPNs, proxies, different IPs will work since we are the only ones with the red riding hood.
Br,