We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using this code in my React app:
const client = new Instagram({ username: process.env.IG_USERNAME, password: process.env.IG_PASSWORD, }); try { await client.login(); } catch (err) { console.log("Something went wrong while logging into Instagram", err); } const profile = await client.getProfile(); console.log(profile);
After await client.login(); I'm getting this error:
await client.login();
RequestError: Error: getaddrinfo EAI_AGAIN www.instagram.com
How can I fix this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using this code in my React app:
After
await client.login();
I'm getting this error:How can I fix this?
The text was updated successfully, but these errors were encountered: