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?
According to german this article following Instagram API endpoints are not available anymore:
User 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
Most helpful comment
The instagram server detect the script as "An Unusual Login Attempt" everytime the script run