Likes
Causes the User (in the path) to like the specified Post
Causes the User (in the path) to like the specified Post. The User in the path must match the User context authorizing the request.
POST
/
2
/
users
/
{id}
/
likes
Authorizations
Authorization
string
headerrequiredThe access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
id
string
requiredThe ID of the authenticated source User that is requesting to like the Post.
Body
application/json
tweet_id
string
requiredUnique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Response
200 - application/json
data
object
errors
object[]