Skip to main content

Get tweet

Action ID: tools.x.get_tweet Get a post. Calls GET /2/tweets/{tweet_id} directly. Reference: https://docs.x.com/x-api/posts/get-post-by-id

Secrets

Required secrets:
  • x: required values X_APP_ONLY_TOKEN.

Input fields

string
required
X post ID.
string | null
Base URL of the X API.Default: null.
string | null
A comma separated list of fields to expand.Default: null.
string | null
A comma separated list of Media fields to display.Default: null.
string | null
A comma separated list of Place fields to display.Default: null.
string | null
A comma separated list of Poll fields to display.Default: null.
string | null
A comma separated list of Post fields to display.Default: null.
string | null
A comma separated list of User fields to display.Default: null.

Get user

Action ID: tools.x.get_user Get a user. Calls GET /2/users/{user_id} directly. Reference: https://docs.x.com/x-api/users/get-user-by-id

Secrets

Required secrets:
  • x: required values X_APP_ONLY_TOKEN.

Input fields

string
required
X user ID.
string | null
Base URL of the X API.Default: null.
string | null
A comma separated list of fields to expand.Default: null.
string | null
A comma separated list of Post fields to display.Default: null.
string | null
A comma separated list of User fields to display.Default: null.

Search recent tweets

Action ID: tools.x.search_recent_tweets Search recent posts. Calls GET /2/tweets/search/recent directly. Reference: https://docs.x.com/x-api/posts/search-recent-posts

Secrets

Required secrets:
  • x: required values X_APP_ONLY_TOKEN.

Input fields

string
required
X recent search query.
string | null
Base URL of the X API.Default: null.
string | null
Newest UTC timestamp to include, formatted as YYYY-MM-DDTHH:mm:ssZ.Default: null.
string | null
A comma separated list of fields to expand.Default: null.
integer | null
Maximum number of results. X supports 10 to 100.Default: null.
string | null
A comma separated list of Media fields to display.Default: null.
string | null
A base32hex-encoded pagination token.Default: null.
string | null
A base32hex-encoded pagination token.Default: null.
string | null
A comma separated list of Place fields to display.Default: null.
string | null
A comma separated list of Poll fields to display.Default: null.
string | null
Return results with a post ID greater than this ID.Default: null.
string | null
Result order, such as recency or relevancy.Default: null.
string | null
Oldest UTC timestamp to include, formatted as YYYY-MM-DDTHH:mm:ssZ. Must be within the last 7 days.Default: null.
string | null
A comma separated list of Post fields to display.Default: null.
string | null
Return results with a post ID less than this ID.Default: null.
string | null
A comma separated list of User fields to display.Default: null.