Git Product home page Git Product logo

puppeteer-instagram-account-creation's Introduction

puppeteer-instagram

Instagram automation driven by headless chrome.

NPM Build Status JavaScript Style Guide

This module also has a CLI.

Install

npm install --save puppeteer-instagram

Usage

This 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()

API

Table of Contents

PuppeteerInstagram

Instagram automation driven by headless chrome.

Type: function (opts)


isAuthenticated

Whether or not this instance is authenticated with Instagram.

Type: boolean


user

Authenticated user if authenticated with Instagram.

Type: Object


browser

Puppeteer Browser instance to use.

Type: function ()


signup

Automates the creation of a new Instagram account.

Type: function (user, opts): Promise

  • user object User details for new account
    • user.email string Email
    • user.username string? Username
    • user.firstName string? First name
    • user.lastName string? Last name
    • user.password string? Password
  • opts object Options (optional, default {})
    • opts.verify boolean? Whether or not to verify email
    • opts.emailPassword string? Email password for verification

signin

Signs into an existing Instagram account.

Note: either username or email is required.

Type: function (user, opts): Promise

  • user Object User details for new account
  • opts Object Options (optional, default {})

signout

Signs out of the currently authenticated Instagram account.

Type: function (): Promise


verifyEmail

Verifies the authenticated Instagram account's email via puppeteer-email.

Type: function (opts): Promise

  • opts Object Options
    • opts.emailPassword string Email password for verification
    • opts.email string? Email verification (defaults to user's GitHub email)

close

Closes the underlying browser instance, effectively ending this session.

Type: function (): Promise

puppeteer-instagram-account-creation's People

Contributors

fineanmol avatar fineanmolwork avatar nnishad avatar

Watchers

 avatar

Forkers

fineanmolwork

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.