capabilities.work

Resolve User and List Their Recent Posts

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

Recipe · 2 steps

Resolve User and List Their Recent Posts

Resolve a username to an id and fetch that user's recent posts.

  1. Resolve the supplied username into a numeric user id along with basic profile fields.
  2. Retrieve the most recent original posts authored by the resolved user, excluding replies and reposts.
What you'll need to have ready
  • username: The X @username (handle) to resolve, without the leading @.
  • maxResults: The maximum number of posts to return (5-100).
  • authorization: Bearer token to authorize the requests (e.g. "Bearer xxx").
For your developer

Arazzo workflow twitter:user-lookup-recent-posts, 2 operations: getUsersByUsername → getUsersPosts. Specs on APIs.io.