Twitter Legacy
Twitter Legacy is an API connector for older Twitter API endpoints used to access and manage tweets, accounts, and social platform data.
- Base URL:
https://api.twitter.com/1.1 - Auth:
bearer(pass your key via theapiKeyinput)
Operations
account_settings_get— GET /account/settings.json — Returns settings (including current trend, geo and sleep time information) for tapplication_rate_limit_status— GET /application/rate_limit_status.json — Returns the current rate limits for methods belonging to the specified resourceblocks_ids— GET /blocks/ids.json — Returns an array of numeric user ids the authenticating user is blocking.blocks_list— GET /blocks/list.json — Allows one to enable or disable retweets and device notifications from the specidirect_messages— GET /direct_messages.json — Returns the 20 most recent direct messages sent to the authenticating user. Incldirect_messages_sent— GET /direct_messages/sent.json — Returns the 20 most recent direct messages sent by the authenticating user. Incl
Inputs
apiKey— your twitter-legacy API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: account_settings_get
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: account_settings_get, application_rate_limit_status, blocks_ids, blocks_list, direct_messages, direct_messages_sent |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |