Skip to content
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

Just getting an empty data array. #241

Open
Marcus2810 opened this issue Mar 22, 2021 · 2 comments
Open

Just getting an empty data array. #241

Marcus2810 opened this issue Mar 22, 2021 · 2 comments

Comments

@Marcus2810
Copy link

const Instagram = require('instagram-web-api')
const { username, password } = process.env

const client = new Instagram({ username, password })

const findUser = async () => {

const followers = await client.getFollowers({userId: '460563723',first:20})

console.log(followers);

}

findUser()

Hi there just was testing this before I use it on my account for tensorflow stuff but was wondering why I'm getting empty data.

@MonsieurBibo
Copy link

There are multiple reasons why you're getting empty data array. I can't really help you for the moment but be sure you're working with the good credentials (uppercase?), you're actually being authenticated (no 403?) etc...

@Eniamza
Copy link

Eniamza commented Nov 15, 2021

Same for me, was working a week ago, now It's an empty data array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants