Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkpoint Challenge Required on a Linux Server #178

Closed
5 of 6 tasks
Luc1412 opened this issue Jun 7, 2019 · 12 comments
Closed
5 of 6 tasks

Checkpoint Challenge Required on a Linux Server #178

Luc1412 opened this issue Jun 7, 2019 · 12 comments

Comments

@Luc1412
Copy link

Luc1412 commented Jun 7, 2019

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • Please read the questions carefully and answer completely.
  • Do not post screenshots of error messages or code.
  • Put an x into all the boxes [ ] relevant to your issue (==> [x] no spaces).
  • Use the Preview tab to see how your issue will actually look like.
  • Issues about reverse engineering is out of scope and will be closed without response.
  • Any mention of spam-like actions or spam-related tools/libs/etc is strictly not allowed.

Before submitting an issue, make sure you have:

  • Updated to the lastest version v1.6.0
  • Read the README and docs
  • Searched the bugtracker for similar issues including closed ones
  • Reviewed the sample code in tests and examples

Which client are you using?

  • app (instagram_private_api/)
  • web (instagram_web_api/)

Describe your issue

I currently use the API to automate Gameupdates/news by publishing automatically images.

Some days ago I got the Checkpoint Challenge Required on my Debian 9 Server which prevent me to use the API. I already read issues which say that I need to manually login into Instagram on the Device.

The Problem: I got a Linux KVM which I controll via SSH with no way to get a graphical interface/open Chrome.

Is there a way to solve the "challenge" only via SSH access or another device?

@wlerin
Copy link

wlerin commented Jun 10, 2019

Have you tried logging into that account on a PC and solving the challenge there? I don't believe it needs to be on the same device.

@martjushev
Copy link

I have the same problem. Solved the challenge on my local machine (was even using the same proxy) - does not help, a new one appears on server.

@Luc1412
Copy link
Author

Luc1412 commented Jun 12, 2019

I think for me it's another problem. The "checkpoint challenge" was no Captcha for me. My account got softbanned (Some features are disabled like following) for short time.

@lhumke
Copy link

lhumke commented Jun 12, 2019

Ok guys. So I am working with Instagram marketing and I read in a quite big forum, that Instagram in softbanning and followblocking accounts that overreach their new limits. So that might be the Problem here.

Here is an example of someone in the forum:

I’ve seen a few theories.

I’d just like to put my info out there.
No Blocks on this account:

Old account - over 6000 actions last 30 days. Added to Jarvee May 23rd
4G proxy
Yesterday did over 600 actions
Today doing unfollows - at about 200 so far today.
Account does not meet the “new only” or “6000 action criteria” mentioned as theories.
Account is used manually a lot on top of auto. Manual…
DM’s, comments, stories on top of that. Even the odd report or two put in.
No issues so far at all.
Account around 12 months old. Has had two copywrite notices (both contested) and a recent SB - out of shadowban now.

So its a most likely a problem by Instagram and not the API or your bot itself

I can`t link the forum because it is kinda private and hard to get in.

@tomquirk
Copy link

I'm getting the challenge and it's my first time using this project.

I got the exception, then checked instagram.com. I got a 6-digit code sent to my email, which I completed, then tried the API again. Got the exception again, and then on checking instagram.com again was forced to change my password.

Think it's the API!

@ehoppmann
Copy link

I have the same issue. Solving the challenge in a web browser on the same machine doesn't help (I tried a few times as tomquirk mentioned above).

FYI, I believe that this project implements interactive instagram challenge handling, so that may be helpful if you decide to try to implement something: https://github.com/rarcega/instagram-scraper

@qwertyNodes
Copy link

qwertyNodes commented Jun 14, 2019

I have the same issue. Solving the challenge in a web browser on the same machine doesn't help (I tried a few times as tomquirk mentioned above).

FYI, I believe that this project implements interactive instagram challenge handling, so that may be helpful if you decide to try to implement something: https://github.com/rarcega/instagram-scraper

same issue here, this guyes solved this in this method:
def login_challenge(self, checkpoint_url)
https://github.com/rarcega/instagram-scraper

maybe is possible implement same here ?
hope this issue will be solved

@tomquirk
Copy link

yea, the problem we'll need to solve is getting the challenge in the first place; the authed web api works fine, just the private/app api

@james-elicx
Copy link

Any advancements on tackling this issue?

I've tried logging in on my phone and chrome but there is no challenge present, it's just when using the PyInstaLive script which is this that I get a challenge.

@Luc1412
Copy link
Author

Luc1412 commented Jul 20, 2019

For me, it works fine. My Account got temporarily blocked by IG. Some time ago all the features got reenabled. The only thing what was confusing that it showed the that there is a problem with the checkpoint instead of the ban.

@silau2005
Copy link

I like this library and use it sometimes so I would like to share my 2 cents.

Thanks ehoppman, qwertyNodes and tomquirk for providing some good insights into the topic. The idea of creating an interactive solution to handle checkpoint challenge is quite good. Here is my flow and the related code:

  1. Override login method (in endpoints/accounts)
  2. Expose part of the _call_api method (in client)
  3. Capture the checkpoint challenge exception
  4. Handle the exception by mimic Instagram Scraper's login_challenge method

@ping
Copy link
Owner

ping commented Oct 29, 2019

@ping ping closed this as completed Oct 29, 2019
Repository owner locked and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants