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任意