Socket
Socket
Sign inDemoInstall

bmw-iac

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bmw-iac

instagram client


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

instagram API Client

Node.js client for instagram API

Install

npm i bmw-lac

Usage

import { InstagramClient } from 'bmw-tac';

const instagramClient = new InstagramClient({
  bearerToken: '<YOUR-instagram-BEARER-TOKEN>',
  xRestliProtocolVersion: '2.0.0',
  instagramVersion: '2.0.0',
});

See all available methods here.

Configuration

You can configure the caching behavior upon instantiation of the client:

const instagramClient = new instagramClient({
  bearerToken: '<YOUR-instagram-BEARER-TOKEN>',
  xRestliProtocolVersion: '2.0.0',
  instagramVersion: '2.0.0',
  ttl: 120, // seconds. Defaults to 360
  disableCache: true, // Disables the caching behavior. Defaults to 'false'
  maxByteSize: 32000000, // Maximum (approximated) memory size for cache store. Defaults to 16000000.
});

Keywords

FAQs

Package last updated on 05 Dec 2022

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