Parameter | Type | Default | Description |
---|---|---|---|
bearer_token | str | None | Bearer token for authentication |
consumer_key | str | None | Consumer key for authentication |
consumer_secret | str | None | Consumer secret for authentication |
access_token | str | None | Access token for authentication |
access_token_secret | str | None | Access token secret for authentication |
include_post_metrics | bool | False | Include post metrics (likes, retweets, etc.) in search results |
wait_on_rate_limit | bool | False | Retry when rate limits are reached |
Function | Description |
---|---|
create_post | Creates and posts a new post |
reply_to_post | Replies to an existing post |
send_dm | Sends a direct message to a X user |
get_user_info | Retrieves information about a X user |
get_home_timeline | Gets the authenticated user’s home timeline |
search_posts | Searches for tweets |