9xN / node-ig-framework

Framework for interacting with instagrams private api in a usable manner in a structure and format similar to discord's old bot development framework.
GNU Affero General Public License v3.0
25 stars 8 forks source link

Status code 503 #14

Closed CycloneAddons closed 1 year ago

CycloneAddons commented 1 year ago

How to send.custom error

CycloneAddons commented 1 year ago

Screenshot_2023-07-01-17-39-55-464_com replit app

CycloneAddons commented 1 year ago

And can I make command handler like Discordjs

9xN commented 1 year ago

And can I make command handler like Discordjs

yes ive actually gone ahead and done this in my personal instagram bot and im not sure if i mentioend in the readme but instagram has blocked replits proxy ips from connecting or interacting with their services so youll either have to local host or use a unblocked vps to host the bot if its not on the readme already ill add it right away

CycloneAddons commented 1 year ago

It command handler possible in current version

9xN commented 1 year ago

It command handler possible in current version

yes

CycloneAddons commented 1 year ago

Ohky! I have one more question how to fetch message of the chat like discord.

9xN commented 1 year ago

what do you mean?

9xN commented 1 year ago

here read this it might help: https://insta.js.org/#/docs/main/master/class/Message

CycloneAddons commented 1 year ago

Umm I mean to fetch chats messages like 10 user messages and 10 bot message which they send

9xN commented 1 year ago

Umm I mean to fetch chats messages like 10 user messages and 10 bot message which they send

yes you can do that using the chat id it shows you how in that documentation site as well just look through it, keep in mind thats a older and outdated and worse version of this wrapper but the methods are the same for the most part