capabilities.work

Create a Post, Like It, Then Delete It

A 3-step recipe with X (Twitter). We can help you get access.

Recipe · 3 steps

Create a Post, Like It, Then Delete It

Create a post, like it, and delete it in one lifecycle.

  1. Create a new post for the authenticated user with the supplied text.
  2. Like the post that was just created from the authenticated account.
  3. Delete the created post to clean up after the lifecycle test.
What you'll need to have ready
  • authUserId: The numeric id of the authenticated user performing the actions.
  • text: The text body of the post to create.
  • authorization: OAuth2 user token to authorize the requests (e.g. "Bearer xxx").
For your developer

Arazzo workflow twitter:post-like-cleanup, 3 operations: createPosts → likePost → deletePosts. Specs on APIs.io.