question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

i cant get it to work

See original GitHub issue

i 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: image

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:open
  • Created 5 years ago
  • Comments:22 (17 by maintainers)

github_iconTop GitHub Comments

3reactions
yildirimatcioglucommented, Aug 19, 2018

“Instagram authentication failed (challenge required erro)”, at 1.0.3 I can get token but can not get sessionId

0reactions
opluspluscommented, Dec 12, 2018

“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??

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found