instagramuploader

1.1.1 • Public • Published

Module based on puppeteer to publish Videos to instagram

It currently has NO tested support for images Instagram only has support for mp4. Other video formats may not work

/**
 * Creates a **puppeteer** browser.
 *
 * @example
 * instagramUploader.createBrowser()
 * 
 * @example
 * instagramUploader.createBrowser({headless: false})
 *
 *
 * @return a pupppeteeer browser
 */

/**
 * Log ins into instagram in the browser
 * browser should be a puppeteer browser or a 
 * instagramUploader.createBrowser browser
 *
 * @example
 * instagramUploader.login(browser, {
 *  email: "Your email adress",
 *  password: "Your Password"
 * })
 *
 */

/**
 * Uploads a video to instagram
 * browser should be a puppeteer browser or a 
 * instagramUploader.createBrowser browser
 *
 * @example
 * instagramUploader.upload(browser, {
 *  caption: "Caption for the video",
 *  audio: true|false // If it should have audio,
 *  autoGenerateCaptions: true|false // If it should generate captions,
 *  hideLikes: true|false // If you want to hide the likes,
 *  disableComments: true|false // If you want to disable the comments,
 *  file: "path/to/video.mp4" // Path to video
 * })
 *
 */

Readme

Keywords

none

Package Sidebar

Install

npm i instagramuploader

Weekly Downloads

0

Version

1.1.1

License

ISC

Unpacked Size

14.2 kB

Total Files

4

Last publish

Collaborators

  • bloxxy213