Get Started
Run a first Instagram-Meta-Business-API-Handler example
Run a first Instagram-Meta-Business-API-Handler example: A comprehensive TypeScript wrapper for Instagram Graph API. Manage posts, stories, comments, DMs, analytics and more with full type safety.
Start with the smallest workflow described by the README for Instagram-Meta-Business-API-Handler. Complete installation and configuration first.
Quick Start
import InstagramHandler from 'instagram-meta-handler';
const instagram = new InstagramHandler({
accessToken: 'YOUR_ACCESS_TOKEN',
instagramBusinessAccountId: 'YOUR_IG_BUSINESS_ACCOUNT_ID',
version: 'v21.0' // optional, defaults to v21.0
});
// Post an image
const mediaId = await instagram.postImage(
'https://example.com/image.jpg',
'Amazing photo! #instagram'
);Next task
Read the usage guide for the documented components, configuration, and source layout.
Source and help
Source captured: 2026-10-11
