Skip to content

Function: getContentInsights() ​

ts
function getContentInsights(client, options?): Promise<Page<{
[key: string]: unknown;
  metrics?: object[];
  thumbnail: {
   [key: string]: unknown;
     caption_text?: string | null;
     creation_time?: number;
     media_id: string;
     media_type?: string;
     media_url?: string | null;
  };
}>>;

One page of the account's posts, reels or stories ranked by a figure. Pass cursor to continue.

Parameters ​

ParameterType
clientPrivateClient
options?ContentInsightsOptions

Returns ​

Promise<Page<{ [key: string]: unknown; metrics?: object[]; thumbnail: { [key: string]: unknown; caption_text?: string | null; creation_time?: number; media_id: string; media_type?: string; media_url?: string | null; }; }>>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.