1.1.2 • Published 1 year ago
instagram-notes v1.1.2
instagram-notes
installation
npm i instagram-notesimporting the package
const Note = require("instagram-notes");import Note from "instagram-notes";creating a sessionId
const sessionId = await Note.getSessionId("username", "password");creating a client/instance
const client = new Note(sessionId);get all notes
await client.getNotes();create a note
await client.createNote("hello");delete a note
await client.deleteNote("<note-id>"); // id of *your* note from client.getNotes()update last seen time
await client.lastSeenUpdateNote();