Skip to main content

Module read

Module read 

Source
Expand description

Stateless read operations over &dyn XApiClient.

Each function validates inputs, delegates to the client trait, and maps errors to ToolkitError. No state, no DB, no policy.

Functions§

get_bookmarks
Get the authenticated user’s bookmarks.
get_followers
Get followers of a user.
get_following
Get accounts a user is following.
get_home_timeline
Get the authenticated user’s home timeline.
get_liked_tweets
Get tweets liked by a user.
get_me
Get the authenticated user’s profile.
get_mentions
Get mentions for a user.
get_tweet
Get a single tweet by ID.
get_tweet_liking_users
Get users who liked a specific tweet.
get_user_by_id
Get a user by their numeric ID.
get_user_by_username
Look up a user by username.
get_user_tweets
Get recent tweets from a specific user.
get_users_by_ids
Get multiple users by their IDs (1-100).
search_tweets
Search recent tweets matching a query.