capabilities.work

Reply to a User's Latest Post

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

Recipe · 3 steps

Reply to a User's Latest Post

Resolve a user, find their latest post, and reply to it.

  1. Resolve the username into a numeric user id.
  2. Retrieve the single most recent original post for the resolved user.
  3. Create a reply post threaded to the resolved user's latest post.
What you'll need to have ready
  • username: The @username whose latest post to reply to, without the leading @.
  • text: The text body of the reply post.
  • authorization: OAuth2 user token to authorize the requests (e.g. "Bearer xxx").
For your developer

Arazzo workflow twitter:reply-to-latest-post, 3 operations: getUsersByUsername → getUsersPosts → createPosts. Specs on APIs.io.