set_client_id
Saves your X App OAuth 2.0 Client ID from console.x.com locally for hosts that cannot pass X_CLIENT_ID, so add_account can run without environment variables.
Instructions
Save the OAuth 2.0 Client ID of the user's own X App (from console.x.com) on this machine, for hosts that cannot pass the X_CLIENT_ID environment variable. Needed once before add_account. No API call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | ||
| client_secret | No | Only for Web App (confidential) clients; Native Apps have none |