数据 API / X / User
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.
参数
查询
userIdstring可选User ID of the user
userNamestring可选Screen name of the user
cursorstring可选Cursor for pagination
includeRepliesboolean可选Include replies in the results
请求示例
curl -X GET "https://openapi.felo.ai/v1/beta/twitter/user/last_tweets" \
-H "Authorization: Bearer $FELO_API_KEY"响应
响应字段
statusstring可选允许值: success · error
codeinteger可选Provider status code.
msgstring可选dataobject可选tweetsobject[]可选pin_tweet可选has_next_pageboolean可选next_cursor可选