> ## Documentation Index
> Fetch the complete documentation index at: https://haider-5d8ca6e7.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat with Social Media

> Analyze posts from Instagram, X (Twitter), LinkedIn, and Facebook

## Overview

Chat with Social Media lets you paste a link to any public post and get insights, summaries, and answers about the content. Analyze trends, understand context, and extract key information.

***

## Supported Platforms

| Platform        | What You Can Analyze            |
| --------------- | ------------------------------- |
| **Instagram**   | Posts, Reels, Stories, Captions |
| **X (Twitter)** | Tweets, Threads, Images         |
| **LinkedIn**    | Posts, Articles, Updates        |
| **Facebook**    | Posts, Photos, Videos           |

***

## How to Use (Web App)

<Steps>
  <Step title="Copy Post URL">
    Go to the social media platform and copy the link to the public post.
  </Step>

  <Step title="Select Platform">
    Choose the appropriate tool: Chat with Instagram, X, LinkedIn, or Facebook.
  </Step>

  <Step title="Paste URL">
    Paste the post URL and click to analyze.
  </Step>

  <Step title="Get Insights">
    Get a summary of the post and ask follow-up questions.
  </Step>
</Steps>

***

## How to Use (API)

### Instagram

```bash theme={null}
# Ingest
curl -X POST https://app.skimming.ai/back/source/v1/api/website \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"source": "https://www.instagram.com/p/POST_ID"}'

# Chat
curl -X POST https://app.skimming.ai/back/chat/v1/api/website/instagram \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"file_id": "YOUR_FILE_ID", "question": "What is this post about?"}'
```

### X (Twitter)

```bash theme={null}
# Chat endpoint
POST /chat/v1/api/website/twitter
```

### LinkedIn

```bash theme={null}
# Chat endpoint
POST /chat/v1/api/website/linkedin
```

### Facebook

```bash theme={null}
# Chat endpoint
POST /chat/v1/api/website/facebook
```

***

## API Endpoints

| Platform    | Chat Endpoint                    |
| ----------- | -------------------------------- |
| Instagram   | `/chat/v1/api/website/instagram` |
| X (Twitter) | `/chat/v1/api/website/twitter`   |
| LinkedIn    | `/chat/v1/api/website/linkedin`  |
| Facebook    | `/chat/v1/api/website/facebook`  |

***

## Use Cases

<CardGroup cols={2}>
  <Card title="Trend Analysis" icon="chart-line">
    Understand what's trending and why.
  </Card>

  <Card title="Content Research" icon="lightbulb">
    Analyze competitor or industry posts for insights.
  </Card>

  <Card title="Sentiment" icon="face-smile">
    Understand the tone and context of posts.
  </Card>

  <Card title="Time Saving" icon="clock">
    Get the gist without scrolling through everything.
  </Card>
</CardGroup>

***

<Info>
  **Note:** Only public posts can be analyzed. Private accounts and posts are not accessible.
</Info>
