← Public packages
@kody/x
Look up X users and tweets, search recent posts, and preview guarded posts through saved OAuth.
Files
import { repostTweet } from './client.ts'
import type { XTweetActionParams } from './client.ts'
/**
* Repost or dry-run reposting an X post. Requires confirm: true.
* @example
* import repostTweet from 'kody:@kody/x/repost-tweet'
* const preview = await repostTweet({ tweetId: '123', dryRun: true })
*/
export default async function repostTweetEntrypoint(params: XTweetActionParams) {
return await repostTweet(params)
}