1.8.6 • Published 3 years ago

@arashgh/insta.js v1.8.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Insta.js

💬 Object-oriented library to interact with Instagram! Based on instagram-private-api, it is very similiar to discord.js.

Installation

npm install @arashgh/insta.js

Example

Here is a simple ping command made with the library:

const Insta = require('@arashgh/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');

Credits

🧡 Big thanks to Nerixyz and dilame and Androz for their libraries.

1.8.6

3 years ago

1.8.5

3 years ago

1.8.4

3 years ago

1.8.3

3 years ago

1.8.2

3 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.3

3 years ago

1.6.2

3 years ago