資料 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選填