> ## Documentation Index
> Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Snapchat API

> Snapchat API を使った投稿オプション

## Snapchat への投稿

Snapchat API により、Stories と Spotlight の両方にコンテンツを直接公開できます。
Stories は 24 時間後に消える一時的な投稿ですが、Spotlight 投稿は永続的で、クリエイターや企業がより広いオーディエンスにリーチするのに役立ちます。

Snapchat で作成できる投稿には 3 種類あります：

<ul className="custom-bullets">
  <li>[Stories](/apis/post/social-networks/snapchat#stories)</li>
  <li>[Saved Stories](/apis/post/social-networks/snapchat#saved-stories)</li>
  <li>[Spotlight](/apis/post/social-networks/snapchat#spotlight)</li>
</ul>

Snapchat は動画または画像メディアを受け付けます。1 つの投稿には 1 つのメディア項目のみ許可されます。

Snapchat API について詳しくは以下を参照してください：

<ul className="custom-bullets">
  <li>[Snapchat Media Guidelines](/media-guidelines/snapchat) および [Snapchat Authorization](/dashboard/connect-social-accounts/snapchat)。</li>
  <li>Snapchat への投稿やアナリティクスの取得方法については [Snapchat API integration guide](https://www.ayrshare.com/blog/complete-guide-to-snapchat-api-integration/) を参照してください。</li>
</ul>

## Stories

Stories は Snapchat アプリの 4 番目のタブである Discover フィードで最大 24 時間の間、友だち、購読者、非購読者に閲覧される、消えるスナップです。

他の投稿と同じ方法で Snapchat ストーリーを公開できます：

```json Publish a Snapchat story theme={"system"}
{
  "post": "An amazing story", // empty string is allowed
  "platforms": ["snapchat"],
  "mediaUrl": ["https://img.ayrshare.com/video.mp4"]
}
```

## Saved Stories

Saved Stories は、公開プロファイル上で無期限に閲覧可能な永続的なストーリーです。

`snapChatOptions` と `savedStory` オプションを使って Snapchat ストーリーを公開します：

```json Publish a Snapchat saved story theme={"system"}
{
  "post": "An amazing saved story",
  "platforms": ["snapchat"],
  "mediaUrl": ["https://img.ayrshare.com/video.mp4"],
  "snapChatOptions": {
    "savedStory": true
  }
}
```

## Spotlight

Spotlight は、Snapchat のユーザー生成コンテンツ向けエンターテインメントプラットフォームである Spotlight 上に配信され閲覧される、永続的な動画スナップです。
Spotlight は、クリエイターや企業が Snapchat 上でオーディエンスを拡大するためのチャンネルを提供します。

`snapChatOptions` と `spotlight` オプションを使って Snapchat ストーリーを公開します：

```json Publish a Snapchat spotlight theme={"system"}
{
  "post": "An amazing spotlight",
  "platforms": ["snapchat"],
  "mediaUrl": ["https://img.ayrshare.com/video.mp4"],
  "snapChatOptions": {
    "spotlight": true
  }
}
```

## Snapchat メンション

現在、Spotlight 投稿でのユーザーメンション（@username）は、API 経由ではインタラクティブなメンションとして解決されません。テキストはクリック可能なユーザーリンクを作成せず、Spotlight 投稿内でプレーンテキストとして表示されます。

```json Example with mentions (displays as plain text) theme={"system"}
{
  "post": "Check out this awesome content from @johndoe and @janedoe!",
  "platforms": ["snapchat"],
  "mediaUrl": ["https://img.ayrshare.com/image.jpg"],
  "snapChatOptions": {
    "spotlight": true
  }
}
```

## Snapchat ハッシュタグ

ハッシュタグは Spotlight 投稿で完全にサポートされており、発見性の向上に役立ちます。投稿コンテンツに複数のハッシュタグを含めて、コンテンツを分類し、関連するオーディエンスにリーチできます。ハッシュタグはクリック可能でもあります。

```json Example with hashtags theme={"system"}
{
  "post": "Just launched our new product! 🚀 #ayrshare #tech #exciting",
  "platforms": ["snapchat"],
  "mediaUrl": ["https://img.ayrshare.com/product-launch.mp4"],
  "snapChatOptions": {
    "spotlight": true
  }
}
```

## 文字数制限

詳細については [Snapchat Character Limits](/help-center/technical-support/character_limits#snapchat-character-limits) を参照してください。
