action x_like_post { label: "Like Post" description: "Causes the authenticated user to Like a specific Post by its ID." provider: x method: POST path: "/2/users/{id}/likes" encoding: json scopes: ["like.write", "tweet.read", "users.read"] input: { type: "object" properties: { id: { type: "string" description: "Unique identifier of this User. The value must be the same as the authenticated user." } } required: ["id"] additionalProperties: false } output: { type: "object" properties: { data: { type: "object" properties: { liked: { type: "boolean" } } } errors: { type: "array" items: { type: "object" description: "An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807)." required: ["type", "title"] properties: { detail: { type: "string" } status: { type: "integer" } title: { type: "string" } type: { type: "string" } } } } } } }