INSTALL Insta.js
💬 Object-oriented library to interact with Instagram! Based on instagram-private-api, it is very similiar to discord.js.
npm install @androz2091/insta.js
Here is a simple ping command made with the library:
const Insta = require('@androz2091/insta.js');
const client = new Insta.Client();
client.on('connected', () => {
console.log(`Logged in as ${client.user.username}`);
});
client.on('messageCreate', (message) => {
if (message.author.id === client.user.id) return
message.markSeen();
if (message.content === '!ping') {
message.reply('!pong');
}
});
client.login('username', 'password');
🧡 Big thanks to Nerixyz and dilame for their libraries.
Version | Supported |
---|---|
5.1.x | ✅ |
5.0.x | ❌ |
4.0.x | ✅ |
< 4.0 | ❌ |
Report it Here
Dobbie