jlobos / instagram-web-api

🤳 Instagram Private Web API client for Node
https://npmjs.com/instagram-web-api
MIT License
1.12k stars 186 forks source link

Are all the apis still working? #252

Open mbareeva opened 3 years ago

mbareeva commented 3 years ago

Was using the login and getProfile() api, but the response json showed me that there is no user and user is not authenticated:

client
    .login()
    .then((data1) => {
      console.log('Data1: ', data1)
      client
        .getProfile()
        .then(data => {
          console.log("Data: ", data);
          res.json(data)
        });
    })

And the response was: Data1: { user: false, authenticated: false, status: 'ok' }

ansh commented 3 years ago

I have the same question!

MonsieurBibo commented 3 years ago

Do you still have the same problem ? did you also try other methods ?

mbareeva commented 3 years ago

I didn't try out other methods because without being successfully authorized I can not retrieve personal data and media data for logged in user. That is why I just implemented the requests with node.js and axios myself...

teemujonkkari commented 2 years ago

Works for me. Maybe you have 2FA turned on?