https://github.com/cycloneaddons/instagram.js
https://github.com/cycloneaddons/instagram.js
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cycloneaddons/instagram.js
- Owner: CycloneAddons
- License: mit
- Created: 2024-05-01T14:16:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-30T13:03:57.000Z (over 1 year ago)
- Last Synced: 2025-08-08T15:07:22.140Z (11 months ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# instagram.js
The Most Powerful Library Of Instagram To Create A Bot Like Discord.js.
## Installation
`$ npm install @cycloneaddons/instagram.js`
## Setup
```js
const Instagram = require("@cycloneaddons/instagram.js");
const client = new Instagram.Client();
client.on("ready", () => {
console.log(`Logged in as ${client.user.fullName}`);
});
client.on("messageCreate", (message) => {
if (message.author.id === client.user.id) return;
message.seen();
if (message.content === "!ping") {
message.send("!pong")
// message.chat.send("!pong");
}
message.chat.startTyping();
});
client.login("username", "password");
```