action x_follow_user { label: "Follow User" description: "Causes the authenticated user to follow a specific user by their ID." provider: x method: POST path: "/2/users/{id}/following" encoding: json scopes: ["follows.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: { following: { type: "boolean" } pending_follow: { 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" } } } } } } }