Liking Tweets is one of the foundational ways people engage in the public conversation on Twitter. We are excited to announce the launch of manage Likes in the Twitter API v2. Now you can use the v2 API to like and unlike Tweets.

The manage Likes endpoints enable you to like or unlike a specified Tweet on behalf of an authenticated account. For these endpoints, there are two methods available, POST and DELETE. The POST method allows you to like a Tweet, and the DELETE method enables you to unlike a Tweet.

Since you are making requests on behalf of an account, you must authenticate these endpoints with OAuth 1.0a User Context and use associated Access Tokens. You can generate the credentials needed using the 3-legged OAuth flow. There is a rate limit of 50 requests per 15 minutes per endpoint with both endpoints, and a daily limit of 1000 Likes and unlikes per day. The POST and DELETE methods share the daily rate limit.

Getting started

If you have access to the Standard product track or the new Academic Research product track, you can begin using these endpoints right away. For now, these endpoints are only available at our Basic access level. Be sure to check out our documentation for more information on how to get started.

If you are already using the v1.1 favorites endpoints, we have a migration guide to help ease your transition to the v2 endpoints. Your existing access to v1.1 endpoints will not be affected by using these new endpoints.

What’s next?

We’re continuing to add new features and functionality to Twitter API v2. Be sure to keep an eye on our public roadmap for the latest. As always, we’d love to hear what you think. Please reach out with any questions or feedback on what you’d like to see in the future.

6 Likes