Instagram-private-api: CheckpointError: Instagram call checkpoint for this action!

Created on 4 Jun 2018  路  7Comments  路  Source: dilame/instagram-private-api

Hi!

I'm using your basic example:

var Client = require('instagram-private-api').V1;
var device = new Client.Device('someuser');
var storage = new Client.CookieFileStorage(__dirname + './cookies/someuser.json');

// And go for login
Client.Session.create(device, storage, 'someuser', 'somepassword')
    .then(function(session) {
        // Now you have a session, we can follow / unfollow, anything...
        // And we want to follow Instagram official profile
        return [session, Client.Account.searchForUser(session, 'instagram')]   
    })
    .spread(function(session, account) {
        return Client.Relationship.create(session, account.id);
    })
    .then(function(relationship) {
        console.log(relationship.params)
        // {followedBy: ... , following: ... }
        // Yey, you just followed @instagram
    })

but getting following error:

Unhandled rejection CheckpointError: Instagram call checkpoint for this action!

I'm still getting the error, even after verifying on instagram.com that I've made the request.

Any help?

Most helpful comment

The instagram server detect the script as "An Unusual Login Attempt" everytime the script run

All 7 comments

According to german this article following Instagram API endpoints are not available anymore:

User Search

  • GET /users/{user-id}
  • GET /users/{user-id}/media/recent
  • GET /users/self/media/liked
  • GET /users/search

that's for their official api at http://instagram.com/developer. you need to complete the checkpoint via the device you are using to run the script. Or login to instagram on a browser/app on the same device.

Any improvements??

The instagram server detect the script as "An Unusual Login Attempt" everytime the script run

Anyone tried disabling temporarily the account as explained in this second method?

https://www.gramto.com/article/how-to-bypass-instagram-checkpoint/

I'm having the same issue. Any time I try to login I get "Unhandled rejection CheckpointError: Instagram call checkpoint for this action!" Has anyone fixed this?

hey, its require a challenge, its just like when you try to loggin from your phone and Instagram ask a verification number, you can use 'Challenge' section in https://github.com/dilame/instagram-private-api and you can pass the verification number that instagram has sent to your phone or email, i use Readline API so the program can wait for me to input the varification number on the terminal

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sagardalal21 picture sagardalal21  路  39Comments

haliliceylan picture haliliceylan  路  29Comments

DKertson16 picture DKertson16  路  10Comments

nikitaulshin picture nikitaulshin  路  17Comments

ambross picture ambross  路  10Comments