Today, we are excited to launch new Retweets endpoints into Twitter API v2, allowing you to build with one of the most important features on Twitter. Today’s launch includes both Retweets lookup and manage Retweets endpoints.
Retweets lookup
With the Retweets lookup endpoint, you can retrieve a list of accounts that have Retweeted a Tweet.
You can authenticate to this endpoint with either OAuth 1.0a User Context or OAuth 2.0 Bearer Token. When authenticating, you must use keys and tokens from a developer App located within a Project. Learn more about getting access to the Twitter API v2 endpoints in our getting started page.
Manage Retweets
The manage Retweets endpoints enable you to Retweet or undo a Retweet of a specified Tweet on behalf of an authenticated account. There are two methods available for these endpoints: POST and DELETE. The POST method allows you to Retweet a Tweet and the DELETE method will enable you to undo a Retweet.
Since you are making requests on behalf of a user, you must authenticate these endpoints with OAuth 1.0a User Context and use the Access Tokens associated with the user, which can be generated using the 3-legged OAuth flow.
Get started
To access these endpoints, you must have an approved developer account. Developers with access to the Standard or Academic Research product track can begin using these endpoints right away at the Basic access level. Be sure to check out our documentation for more information on how to get started.
For those of you already using the v1.1 Retweets endpoints, we’ve created 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.