Comparing X API’s hide replies endpoints
The v2 hide replies endpoint is replacing the Labs hide replies endpoint. If you have code, apps, or tools that use the Labs version of this endpoint, and are considering migrating to the newer X API v2 endpoint, then this guide is for you. In order to use the new X API v2 (including the hide replies endpoint), you will need to opt in to the new Developer Console, create a Project, and add an App to that Project. You can then use the credentials associated with that App to make requests to the hide replies endpoint. Adding the same App that’s enrolled for the Labs v2 hide replies endpoint will keep your users authenticated. The following table compares the differences between Labs and the newer X API v2 endpoint:Code examples
Hide a reply (v2)
cURL