Felo API PlatformFelo API Platform

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