Instagram automation driven by headless chrome.
This module also has a CLI.
npm install --save puppeteer-instagramThis example signs into an Instagram account.
const PuppeteerInstagram = require('puppeteer-instagram')
const instagram = new PuppeteerInstagram()
await instagram.signin({ username: 'xxx', password: 'xxx' })
await instagram.close()Instagram automation driven by headless chrome.
Type: function (opts)
optsObject Options (optional, default{})opts.browserObject? Puppeteer browser instance to useopts.puppeteerObject? Puppeteer launch options
Whether or not this instance is authenticated with Instagram.
Type: boolean
Authenticated user if authenticated with Instagram.
Type: Object
Puppeteer Browser instance to use.
Type: function ()
Automates the creation of a new Instagram account.
Type: function (user, opts): Promise
Signs into an existing Instagram account.
Note: either username or email is required.
Type: function (user, opts): Promise
Signs out of the currently authenticated Instagram account.
Type: function (): Promise
Verifies the authenticated Instagram account's email via puppeteer-email.
Type: function (opts): Promise
optsObject Options
Closes the underlying browser instance, effectively ending this session.
Type: function (): Promise
- puppeteer-instagram-cli - CLI for this module.
- puppeteer-email - Email automation driven by headless chrome.
- puppeteer - Headless Chrome Node API.
- awesome-puppeteer - Curated list of awesome puppeteer resources.
- private api - Instagram's private API (php)
- instabot.py - Popular Instagram bot (python)
- instagram-node - Deprecated node SDK (javascript)
- node-instagram - More recent node SDK (javascript)
MIT © Travis Fischer
Support my OSS work by following me on twitter