Felo API PlatformFelo API Platform

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