i cant get it to work
See original GitHub issuei installed the package, then used this code:
let Instagram = require('instagram-nodejs-without-api');
Instagram = new Instagram()
Instagram.getCsrfToken().then((csrf) =>
{
Instagram.csrfToken = csrf;
}).then(() =>
{
return Instagram.auth('inst-your-username', 'inst-your-password').then(sessionId =>
{
Instagram.sessionId = sessionId
return Instagram.getUserDataByUsername('username-for-get').then((t) =>
{
return Instagram.getUserFollowers(t.graphql.user.id).then((t) =>
{
console.log(t); // - instagram followers for user "username-for-get"
})
})
})
}).catch(console.error);
i changed three parameters: ‘inst-your-username’, ‘inst-your-password’, and ‘username-for-get’ to my own, then get this error:
not sure if im doing this right, not a very solid background here. any help or suggestion to documentation/link/example i should learn would be appreciated.
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (17 by maintainers)
Top Results From Across the Web
7 Reasons You Have No Motivation To Work (And ... - Zippia
Feeling like your work matters and feeling a connection to your coworkers can have a huge effect on how motivated we are at...
Read more >Which is correct “I can't make it work” or “I can't make it to work”?
In “I can't make it work,” “work” is a verbal, a “bare” infinitive without the “to” sign, as is usual after “make”; in...
Read more >How to Make Yourself Work When You Just Don't Want To
Do yourself a favor, and embrace the fact that your willpower is limited, and that it may not always be up to the...
Read more >Why can't I just WORK??? - procrastination job failure
One possibly related issue I've noticed is that as soon as I run against ANY difficulty in a task, I instinctively want to...
Read more >4 reasons you can't focus at work (and how to destroy each one)
Learn why you can't focus at work, and what you can do to concentrate and get more done. Don't miss this expert advice...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
“Instagram authentication failed (challenge required erro)”, at 1.0.3 I can get token but can not get sessionId
same thing happening here! please any help??