dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
5.99k stars 1.14k forks source link

CheckpointError: Instagram call checkpoint for this action! #500

Closed Raidus closed 5 years ago

Raidus commented 6 years ago

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?

Raidus commented 6 years ago

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

User Search

ColtraneNadler commented 6 years ago

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.

tupizz commented 6 years ago

Any improvements??

Snowbases commented 5 years ago

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

AlbertoCrespoGuzman commented 5 years ago

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

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

caba8685 commented 5 years ago

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?

diastowo29 commented 5 years ago

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