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

# Likes endpoints migration overview

> Map Standard v1.1 Likes endpoints (favorites/list, favorites/create, favorites/destroy) to X API v2 likes endpoints to plan a migration.

## Comparing X API’s Likes endpoints

These guides will focus on the following areas:

* **API request parameters** - The X API v2 endpoint introduces a new set of request parameters. While some parameters will be familiar, especially for those integrating with Labs, there are many important differences such as the introduction of the [fields](/x-api/fundamentals/fields) and [expansions](/x-api/fundamentals/expansions) parameters.

* **App and Project requirements** - To access the X API v2, you will need to use credentials from a [developer App](/resources/fundamentals/developer-apps) that is associated with a [Project](/resources/fundamentals/developer-apps)

#### Likes lookup

**Users who have liked a Post**

The liked users endpoint is new functionality for v2, allowing you to get information about a Post's liking users.

| Description                                                        | X API v2                                                                      |
| :----------------------------------------------------------------- | :---------------------------------------------------------------------------- |
| HTTP methods supported                                             | GET                                                                           |
| Host domain                                                        | [https://api.x.com](https://api.x.com)                                        |
| Endpoint path                                                      | /2/tweets/:id/liking\_users                                                   |
| [Authentication](/resources/fundamentals/authentication)           | OAuth 2.0 Bearer Token<br /><br />OAuth 1.0a User Context                     |
| Default request [rate limits](/resources/fundamentals/rate-limits) | 75 requests per 15 min (per App)<br /><br />75 requests per 15 min (per user) |

**Posts liked by a user**

The following tables compare the standard v1.1 [GET favorites/list](https://developer.x.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-favorites-list) endpoint and the X API v2 liked Posts endpoints:

| Description                                                        | Standard v1.1                          | X API v2                                                                                                                                                                                                                                                                                                                                              |
| :----------------------------------------------------------------- | :------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| HTTP methods supported                                             | GET                                    | GET                                                                                                                                                                                                                                                                                                                                                   |
| Host domain                                                        | [https://api.x.com](https://api.x.com) | [https://api.x.com](https://api.x.com)                                                                                                                                                                                                                                                                                                                |
| Endpoint path                                                      | /1.1/favorites/list.json               | /2/users/:id/liked\_tweets                                                                                                                                                                                                                                                                                                                            |
| [Authentication](/resources/fundamentals/authentication)           | OAuth 1.0a User Context                | OAuth 2.0 Bearer Token<br /><br />OAuth 1.0a User Context                                                                                                                                                                                                                                                                                             |
| Default request [rate limits](/resources/fundamentals/rate-limits) | 75 requests per 15 min                 | 75 requests per 15 min (per App)<br /><br />75 requests per 15 min (per user)                                                                                                                                                                                                                                                                         |
| Data formats                                                       | Standard v1.1 format                   | [X API v2 format](/x-api/fundamentals/data-dictionary) (determined by fields and expansions request parameters, not backward-compatible with v1.1 formats)<br /><br />To learn more about how to migrate from the Standard v1.1 format to the X API v2 format, please visit our [data formats migration guide](/x-api/migrate/data-format-migration). |

#### Manage Likes

The v2 manage Likes endpoints replace the v1.1 [POST favorites/create](https://developer.x.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/post-favorites-create) and [POST favorites/destroy](https://developer.x.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/post-favorites-destroy) endpoints.

The following tables compare the standard v1.1 and X API v2 manage Like endpoints:

#### Like a Post

| Description                                                        | Standard v1.1                                                                         | X API v2                                                                                               |
| :----------------------------------------------------------------- | :------------------------------------------------------------------------------------ | :----------------------------------------------------------------------------------------------------- |
| HTTP methods supported                                             | POST                                                                                  | POST                                                                                                   |
| Host domain                                                        | [https://api.x.com](https://api.x.com)                                                | [https://api.x.com](https://api.x.com)                                                                 |
| Endpoint path                                                      | /1.1/favorites/create.json                                                            | /2/users/:id/likes                                                                                     |
| [Authentication](/resources/fundamentals/authentication)           | OAuth 1.0a User Context                                                               | OAuth 1.0a User Context                                                                                |
| Default request [rate limits](/resources/fundamentals/rate-limits) | 1000 requests per 24 hours (per user)<br /><br />1000 requests per 24 hours (per App) | 50 requests per 15 min (per user)<br /><br />1000 requests per 24 hours (per user, shared with DELETE) |

#### Unlike a Post

| Description                                                        | Standard v1.1                                                                         | X API v2                                                                                             |
| :----------------------------------------------------------------- | :------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------------------- |
| HTTP methods supported                                             | POST                                                                                  | DELETE                                                                                               |
| Host domain                                                        | [https://api.x.com](https://api.x.com)                                                | [https://api.x.com](https://api.x.com)                                                               |
| Endpoint path                                                      | /1.1/favorites/destroy.json                                                           | /2/users/:id/likes/:tweet\_id                                                                        |
| [Authentication](/resources/fundamentals/authentication)           | OAuth 1.0a User Context                                                               | OAuth 1.0a User Context                                                                              |
| Default request [rate limits](/resources/fundamentals/rate-limits) | 1000 requests per 24 hours (per user)<br /><br />1000 requests per 24 hours (per App) | 50 requests per 15 min (per user)<br /><br />1000 requests per 24 hours (per user, shared with POST) |

**Other migration resources**

[Likes lookup: Standard v1.1 to X API v2](/x-api/posts/likes/migrate/likes-lookup-standard-to-twitter-api-v2)

[Manage Likes: Standard v1.1 to X API v2](/x-api/posts/likes#manage-likes-standard-v1-1-compared-to-x-api-v2)

[X API migration hub](/x-api/migrate/overview)
