OverviewProductsPlatformsAPI ReferenceResources

List the live broadcasts of an Instagram account

GEThttps://zernio.com/api/v1/accounts/{accountId}/instagram/live-media

Returns the live videos the connected Instagram account is broadcasting right now.

Meta only returns broadcasts in progress at the time of the request, so the list is empty when nothing is live (a 200, not an error).

Pair the returned id with comments flagged as live (the live_comments webhook field) or with a live_comment comment automation.

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

accountIdstringRequired

The ID of a connected Instagram account (Facebook Login).

Responses

Success· the request worked

Errors· the request failed

How it behaves

Requires Facebook Login

The Instagram account must be connected via Facebook Login. Meta documents the live_media edge on graph.facebook.com only.

Accounts connected with classic Instagram Login receive a 400 (instagram_live_media_requires_facebook_login) and must be reconnected choosing the Facebook option.

GET/v1/accounts/{accountId}/instagram/live-media
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.instagram.listInstagramLiveMedia({  path: {    accountId: 'account_abc123',  },});console.log(data);
{  "data": [    {      "id": "string",      "mediaType": "string",      "mediaProductType": "string",      "username": "string",      "timestamp": "string"    }  ]}
OpenAPI specification
Was this page helpful?