capabilities.work

Search Recent Posts and Hydrate the Top Match

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

Recipe · 2 steps

Search Recent Posts and Hydrate the Top Match

Search recent posts and hydrate the first matching post by id.

  1. Search the last seven days of posts for the supplied query and capture the id of the first result.
  2. Retrieve the fully hydrated detail for the first post returned by the search, including author and metrics expansions.
What you'll need to have ready
  • query: The search query (X search operators are supported).
  • maxResults: The maximum number of search results to return (10-100).
  • authorization: Bearer token to authorize the requests (e.g. "Bearer xxx").
For your developer

Arazzo workflow twitter:search-recent-get-details, 2 operations: searchPostsRecent → getPostsById. Specs on APIs.io.