Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

botyo-bundle-instagram

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botyo-bundle-instagram

Instagram Bundle for Botyo

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Instagram Bundle for Botyo

npm npm npm

The Instagram Bundle for Botyo consists of a few modules providing some useful Instagram integrations.

The included components are:

  • InstagramCommand - a command that posts an Instagram photo of a particular user, or one tagged with a hashtag.
  • InstagramSneakPeekFilter - a filter that listens for Instagram profile links and posts a few photos of the user in question.

Usage

#ig [latest] <@user | #hashtag>

For example:

  • #ig latest by @ivkos - Posts the newest photo uploaded by @ivkos
  • #ig latest of #landscape - Posts the newest photo tagged with #landscape
  • #ig @zuck - Posts a random photo uploaded by @zuck
  • #ig #happy - Posts a random photo tagged with #happy

Install

Step 1. Install the module from npm.

npm install --save botyo-bundle-instagram

Step 2. Configure the module.

Add your Instagram username and password to your configuration file config.yaml

facebook:
  email: ...
  password: ...
  ...


# Instagram Bundle Configuration
instagram:
  username: INSTAGRAM_USERNAME
  password: INSTAGRAM_PASSWORD
  cookiesFile: instagram_cookies.json     # optional; path to cookies file

  
modules:
  ...

Step 3. Register the bundle.

import Botyo from "botyo";
import { InstagramBundle } from "botyo-bundle-instagram"

Botyo.builder()
    ...
    .registerBundle(InstagramBundle)
    ...
    .build()
    .start();

Or optionally, register only the desired modules:

import Botyo from "botyo";
import { InstagramCommand, InstagramSneakPeekFilter } from "botyo-bundle-instagram"

Botyo.builder()
    ...
    .registerModule(InstagramCommand)
//  .registerModule(InstagramSneakPeekFilter)
    ...
    .build()
    .start();

Configuration

InstagramCommand has no configuration properties. The InstagramSneakPeekFilter has sensible defaults so it need not be explicitly configured.

modules:
    InstagramSneakPeekFilter:
      maxPhotos: 3  # how many photos of the user to post

Keywords

FAQs

Package last updated on 09 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc