Skip to main content
GET
Get User Last Tweets
Get a user’s most recent tweets, accepting either userName (@handle) or userId — useful when you have not resolved the handle to an ID yet. Optionally include replies. Cursor-paginated. Returns tweets under data with has_next_page and next_cursor. Use get_twitter_user_tweet_timeline instead when you already have the numeric ID and want the full profile-order timeline with parent-tweet expansion.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

userId
string

User ID of the user

userName
string

Screen name of the user

cursor
string

Cursor for pagination

includeReplies
boolean
default:false

Include replies in the results

Response

200 - application/json

User tweets

status
enum<string>
Available options:
success,
error
code
integer

Provider status code returned by the AIsa wrapper.

msg
string
data
object
has_next_page
boolean
next_cursor
string | null