Back to APIs
X (Twitter)
Schedule, update and delete posts on X.
Using the X (Twitter) API with Trigger.dev
You can use Trigger.dev with any existing Node SDK or even just using fetch. Using io.runTask makes your X (Twitter) background job resumable and appear in our dashboard.
Use io.runTask() and the official SDK or fetch.
Example code using X (Twitter)
Below is a working code example of how you can use X (Twitter) with Trigger.dev. These samples are open source and maintained by the community, you can copy and paste them into your own projects.