> ## 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 POST friendships/create 및 POST 엔드포인트를 사용해 왔다면 이 가이드가 도움이 됩니다. 마이그레이션을 다루는 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>;
};

#### Manage follows: standard v1.1과 X API v2 비교

standard v1.1의 [POST friendships/create](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/post-friendships-create) 및 [POST friendships/destroy](https://developer.x.com/en/docs/twitter-api/v1/accounts-and-users/follow-search-get-users/api-reference/post-friendships-destroy) 엔드포인트를 사용해 왔다면, 이 가이드는 standard와 X API v2의 manage follows 엔드포인트 사이의 유사점과 차이점을 이해하는 데 도움이 될 것입니다.

* **유사점**
  * OAuth 1.0a User Context
* **차이점**
  * 엔드포인트 URL
  * App 및 Project 요구사항
  * HTTP 메서드
  * 요청 매개변수

#### 유사점

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

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

#### 차이점

**엔드포인트 URL**

* Standard v1.1 엔드포인트:
  * POST [https://api.x.com/1.1/friendships/create.json](https://api.x.com/1.1/friendships/create.json)
    (사용자 팔로우)
  * POST [https://api.x.com/1.1/friendships/destroy.json](https://api.x.com/1.1/friendships/destroy.json)
    (사용자 언팔로우)
* X API v2 엔드포인트:
  * POST [https://api.x.com/2/users/:id/following](https://api.x.com/2/users/:id/following)
    (사용자 팔로우)
  * DELETE [https://api.x.com/2/users/:source\\\_user\\\_id/following/:target\\\_user\\\_id](https://api.x.com/2/users/:source\\_user\\_id/following/:target\\_user\\_id)
    (사용자 언팔로우)

**App 및 Project 요구사항**

X API v2 엔드포인트는 요청을 인증할 때 [Project](/resources/fundamentals/developer-apps)와 연결된 [developer App](/resources/fundamentals/developer-apps)의 자격 증명을 사용해야 합니다.
