Open bryanvaz opened 6 years ago
the getUserByUsername endpoint still seems to require authentication for public profiles.
getUserByUsername
The following code should work but instead I get StatusCodeError: 403 - undefined:
StatusCodeError: 403 - undefined
const Instagram = require('instagram-web-api'); const client = new Instagram({ username: 'instagram', password: '' }); (async () => { // await client.login(); // const profile = await client.getProfile(); try { const p39 = await client.getUserByUsername({ username: 'instagram' }); console.log(p39); } catch(e){ console.error(e); } })();
Has anyone actually got this to work without authenticating?
I might be wrong, but I don't see any indication that authentication is not necessary.
the
getUserByUsername
endpoint still seems to require authentication for public profiles.The following code should work but instead I get
StatusCodeError: 403 - undefined
:Has anyone actually got this to work without authenticating?