UNPKG

@memberjunction/actions-bizapps-social

Version:

Social Media Actions for MemberJunction - Twitter, LinkedIn, Facebook, Instagram, TikTok, YouTube, HootSuite, Buffer

56 lines 1.77 kB
import { InstagramBaseAction } from '../instagram-base.action.js'; import { ActionParam, ActionResultSimple, RunActionParams } from '@memberjunction/actions-base'; import { SocialPost, SearchParams } from '../../../base/base-social.action.js'; /** * Searches for historical Instagram posts from the business account. * Instagram API only allows searching within your own business account's posts. * Supports filtering by date range, hashtags, and content. */ export declare class InstagramSearchPostsAction extends InstagramBaseAction { protected InternalRunAction(params: RunActionParams): Promise<ActionResultSimple>; /** * Search posts implementation (Instagram only allows searching own posts) */ protected searchPosts(params: SearchParams): Promise<SocialPost[]>; /** * Fetch all posts from the account within date range */ private fetchAllAccountPosts; /** * Get archived posts (if any) */ private getArchivedPosts; /** * Extract hashtags from content */ private extractHashtags; /** * Sort posts by relevance */ private sortByRelevance; /** * Analyze search results */ private analyzeSearchResults; /** * Generate search suggestions based on results */ private generateSearchSuggestions; /** * Get most successful media type */ private getMostSuccessfulMediaType; /** * Calculate engagement boost for posts with questions */ private getQuestionEngagementBoost; /** * Define the parameters for this action */ get Params(): ActionParam[]; /** * Get the description for this action */ get Description(): string; } //# sourceMappingURL=search-posts.action.d.ts.map