EdouardCourty / user-instagram

This module allows you to get the data of any user or post on Instagram.
82 stars 18 forks source link

"Please submit an Issue on Github" #36

Closed j0nibaer closed 2 years ago

j0nibaer commented 2 years ago

Hi, today i started using this NPM and got a weird error. Please help :(

Error: Unknown error, please submit an issue on GitHub. at C:\Users---\OneDrive\Dokumente---\Discord\DC Bots\JoniBot v13\node_modules\user-instagram\src\Instagram\Infrastructure\InstagramRepository.js:374:23 at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5)

The Code: const instagram = require('user-instagram'); let name = args[0]; if(!name) return message.channel.send('Enter an account to search for!'); await instagram.authenticate(process.env.username, process.env.passwort); instagram.getUserData(name).then(userData => { let embed = new MessageEmbed() .setTitle(**Profile from: ${userData.getUsername()}**) message.channel.send({embeds:[embed]});

    })
EdouardCourty commented 2 years ago

Hi, can you provide a link to your repository please ?

Lioness100 commented 2 years ago

@EdouardCourty I'm also encountering this issue. I simply copy and pasted the example from the README. I can confirm my credentials are correct.

Fab-is-insane commented 2 years ago

same issue with me, im running my application on heroku