Find a Post, Repost It, Then Undo the Repost
A 3-step recipe with X (Twitter). We can help you get access.
Recipe · 3 steps
Find a Post, Repost It, Then Undo the Repost
with X (Twitter)
Search, repost the top result, then undo the repost.
- Search recent posts and capture the id of the first match.
- Repost the first matching post from the authenticated account.
- Undo the repost to restore the original state.
What you'll need to have ready
- authUserId: The numeric id of the authenticated user performing the repost.
- query: The search query used to find a post to repost.
- authorization: OAuth2 user token to authorize the requests (e.g. "Bearer xxx").
For your developer
Arazzo workflow twitter:repost-then-undo, 3 operations: searchPostsRecent → repostPost → unrepostPost. Specs on APIs.io.