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

# Likes 스트림

> Likes Streams endpoint는 지속적인 HTTP GET 연결을 통해 실시간 좋아요 이벤트를 전송합니다. 스트림을 다루는 X API v2 standard 등급 레퍼런스입니다.

export const Button = ({href, children}) => {
  return <div className="not-prose">
    <a href={href}>
      <button className="x-btn">
        <span>{children}</span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

Likes Streams endpoint는 지속적인 HTTP GET 연결을 통해 실시간 좋아요 이벤트를 전송합니다. 이 스트림은 X 전반의 좋아요 활동에 대한 액세스를 제공하여 참여 패턴을 추적하고, 콘텐츠 성과를 모니터링하며, 대규모로 좋아요 행동을 분석할 수 있게 합니다.

두 가지 스트림이 제공됩니다:

* **All Likes stream** — 모든 공개 좋아요 이벤트를 실시간으로 전송합니다(firehose).
* **Sampled Likes stream** — 공개 좋아요 이벤트의 10% 샘플을 전송합니다.

이 스트리밍 endpoint는 [OAuth 2.0 App-Only](/resources/fundamentals/authentication#oauth-2-0) 인증을 사용합니다.

*이 API를 사용하려면 먼저 엔터프라이즈 영업팀을 통해 계정을 설정해야 합니다.*

<Note>
  **계정 설정**

  이 endpoint에 액세스하려면 다음이 필요합니다:

  * 승인된 [developer account](https://developer.x.com/en/portal/petition/essential/basic-info)
  * [Project](/resources/fundamentals/developer-apps) 내에 있는 [developer App](/resources/fundamentals/developer-apps)의 키 및 토큰으로 인증

  X API v2 endpoint 액세스 방법에 대한 자세한 내용은 [시작 가이드](/x-api/getting-started/getting-access)에서 확인하세요.
</Note>

***

## Endpoint

| Method | Endpoint                                                         | 설명                     |
| :----- | :--------------------------------------------------------------- | :--------------------- |
| GET    | [`/2/likes/firehose/stream`](/x-api/stream/stream-all-likes)     | 모든 좋아요 이벤트를 실시간으로 스트리밍 |
| GET    | [`/2/likes/sample10/stream`](/x-api/stream/stream-sampled-likes) | 좋아요 이벤트의 10% 샘플 스트리밍   |

***

## 스트리밍 기본

<CardGroup cols={2}>
  <Card title="스트리밍 데이터 소비" icon="stream" href="/x-api/fundamentals/consuming-streaming-data">
    스트리밍 클라이언트 모범 사례
  </Card>

  <Card title="연결 해제 처리" icon="plug" href="/x-api/fundamentals/handling-disconnections">
    우아하게 재연결
  </Card>

  <Card title="고용량 처리" icon="gauge-high" href="/x-api/fundamentals/high-volume-capacity">
    높은 처리량 처리
  </Card>

  <Card title="복구 및 이중화" icon="https://mintcdn.com/x-preview/cfyQtgCdwk8p69aa/icons/xds/icon-shield-keyhole.svg?fit=max&auto=format&n=cfyQtgCdwk8p69aa&q=85&s=a0e05514090c8a6af232297bfb9c4055" href="/x-api/fundamentals/recovery-and-redundancy" width="24" height="24" data-path="icons/xds/icon-shield-keyhole.svg">
    복원력 있는 애플리케이션 구축
  </Card>
</CardGroup>
