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,
disableCache: true,
maxByteSize: 32000000,
});