@memberjunction/actions-bizapps-social
Version:
Social Media Actions for MemberJunction - Twitter, LinkedIn, Facebook, Instagram, TikTok, YouTube, HootSuite, Buffer
42 lines • 1.28 kB
TypeScript
import { InstagramBaseAction } from '../instagram-base.action';
import { ActionParam, ActionResultSimple, RunActionParams } from '@memberjunction/actions-base';
/**
* Retrieves detailed insights and analytics for a specific Instagram post.
* Available metrics vary by post type (feed, reels, stories).
*/
export declare class InstagramGetPostInsightsAction extends InstagramBaseAction {
protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>;
/**
* Get post details including media type
*/
private getPostDetails;
/**
* Get available metrics based on post type
*/
private getAvailableMetrics;
/**
* Parse insights data into a structured format
*/
private parseInsightsData;
/**
* Calculate engagement rate
*/
private calculateEngagementRate;
/**
* Calculate total engagements
*/
private calculateTotalEngagements;
/**
* Calculate a performance score (0-100)
*/
private calculatePerformanceScore;
/**
* Define the parameters for this action
*/
get Params(): ActionParam[];
/**
* Get the description for this action
*/
get Description(): string;
}
//# sourceMappingURL=get-post-insights.action.d.ts.map