Function: getAudienceInsights()
function getAudienceInsights(client, range?): Promise<{
[key: string]: unknown;
active_follower_count?: | {
[key: string]: unknown;
format?: string;
formatted_value?: string;
id: string;
label: string;
value?: number | null;
}
| null;
active_times?: | {
[key: string]: unknown;
slots?: object[];
}
| null;
age_demographics?: | {
[key: string]: unknown;
entries?: object[];
}
| null;
follower_count?: | {
[key: string]: unknown;
format?: string;
formatted_value?: string;
id: string;
label: string;
value?: number | null;
}
| null;
follower_growth_delta?: | {
[key: string]: unknown;
sentiment?: string;
value?: string;
}
| null;
gender_demographics?: unknown;
net_followers_over_time?: unknown;
top_cities?: object[];
top_countries?: object[];
top_languages?: object[];
}>;The account's audience for a date range: followers, ages, places and active times.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
range? | InsightsRange |
Returns
Promise<{ [key: string]: unknown; active_follower_count?: | { [key: string]: unknown; format?: string; formatted_value?: string; id: string; label: string; value?: number | null; } | null; active_times?: | { [key: string]: unknown; slots?: object[]; } | null; age_demographics?: | { [key: string]: unknown; entries?: object[]; } | null; follower_count?: | { [key: string]: unknown; format?: string; formatted_value?: string; id: string; label: string; value?: number | null; } | null; follower_growth_delta?: | { [key: string]: unknown; sentiment?: string; value?: string; } | null; gender_demographics?: unknown; net_followers_over_time?: unknown; top_cities?: object[]; top_countries?: object[]; top_languages?: object[]; }>