-
Notifications
You must be signed in to change notification settings - Fork 189
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
Problem in simple login #80
Comments
I would place the code inside a try catch. so you can catch any errors returned. const Instagram = require('instagram-web-api');
const client = new Instagram({ username: 'XX', password: 'YY' });
(async () => {
try {
await client.login();
const profile = await client.getProfile();
console.log("Profile:", profile);
} catch (error) {
console.log("Error:", error);
}
})(); |
I have same problem! Instagram does not send header "set-cookie". instagram-web-api/lib/index.js:55:46 |
Same problem here can someone help us pls ? |
Looks like the package is outdated in npm. I fixed that by installing the package using the master branch putting this in my package.json: |
Is it still relevant ? If not can you close this issue please ? |
still relevant |
I try to simply log in as
but it returns the error:
The text was updated successfully, but these errors were encountered: