> ## 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.

# v1에서 v2로

> standard v1.1 GET users/show 및 GET users/lookup을 사용해 왔다면 이 가이드가 도움이 됩니다. 마이그레이션을 다루는 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>;
};

### Standard v1.1과 X API v2 비교

standard v1.1의 GET users/show 및 GET users/lookup을 사용해 왔다면, 이 가이드는 standard와 X API v2의 users lookup 엔드포인트 사이의 유사점과 차이점을 이해하는 데 도움이 될 것입니다.

* **유사점**
  * OAuth 1.0a User Context
  * 요청당 사용자 수 제한
* **차이점**
  * 엔드포인트 URL
  * App 및 Project 요구사항
  * 응답 데이터 형식
  * 요청 매개변수

#### 유사점

**OAuth 1.0a User Context 인증 방식**

standard 엔드포인트는 [OAuth 1.0a User Context](/resources/fundamentals/authentication#oauth-1-0a-2)를 지원하며, 새로운 X API v2 users lookup 엔드포인트는 OAuth 1.0a User Context와 [App only](/resources/fundamentals/authentication#oauth-2-0)를 모두 지원합니다. 따라서 이전에 standard v1.1 users lookup 엔드포인트 중 하나를 사용했다면 X API v2 버전으로 마이그레이션할 때도 동일한 인증 방식을 계속 사용할 수 있습니다.

선택한 인증 라이브러리/패키지에 따라 다르지만, App only 인증은 시작하기가 가장 쉽고 간단한 요청 헤더로 설정할 수 있습니다. App only Access Token을 생성하는 방법은 [이 App only 가이드](/resources/fundamentals/authentication#bearer-token-also-known-as-app-only)를 참조하세요.

**요청당 사용자 수 제한**

standard v1.1의 GET users/lookup 엔드포인트는 요청당 100명의 사용자를 지정할 수 있습니다. GET /users 및 GET /users/by 엔드포인트도 마찬가지입니다. 100명의 사용자를 모두 지정하려면 ids(GET /users) 매개변수 또는 username(GET /users/by) 매개변수를 쿼리 매개변수로 전달하고, 사용자 ID/username 목록을 쉼표로 구분된 목록으로 포함해야 합니다.

#### 차이점

**엔드포인트 URL**
