FoPost LogoFoPost Docs
AI Features

Auto Hashtags

AI-powered hashtag suggestions based on content analysis.

Auto Hashtags

Pro + AI

Let AI analyze your content and suggest relevant, trending hashtags.

Basic usage

$hashtags = $client->ai()->suggestHashtags([
    'content' => 'Just shipped a new feature for our Laravel application that integrates with Stripe payments.',
]);

// Returns: ['laravel', 'php', 'stripe', 'webdev', 'payments', 'saas']

With platform context

$hashtags = $client->ai()->suggestHashtags([
    'content' => 'New blog post about microservices architecture',
    'platform' => 'instagram',
    'max_hashtags' => 15,
]);

Instagram supports more hashtags, so the AI will suggest a broader set.

How it works

  1. AI analyzes your content for topics and themes
  2. Cross-references with trending hashtags on the target platform
  3. Filters out banned or spammy hashtags
  4. Ranks by relevance and potential reach
  5. Returns the top suggestions within your limit

Options

OptionDescriptionDefault
contentThe content to analyzeRequired
platformTarget platform for context
max_hashtagsMaximum number to suggest10
languageContent languageen
include_trendingInclude trending tagstrue

On this page