Data 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Необязательный