set_following
Follow (following=true) or unfollow (following=false) another Hardcover user, identified by user_id or username (provide one; user_id wins if both are given). Idempotent: if you already are in the requested state nothing changes.
Instructions
Follow (following=true) or unfollow (following=false) another Hardcover user, identified by user_id or username (provide one; user_id wins if both are given). Idempotent: if you already are in the requested state nothing changes. Followed users' activity appears in get_activity_feed. Returns user_id, following, and 'changed' (whether anything was done); an unknown user is an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Hardcover user ID. | |
| username | No | Username (resolved to an ID). | |
| following | Yes | true to follow, false to unfollow. |