Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Get User Last Tweets

Server:https://openapi.felo.ai
Client Libraries

Twitter / X

​

Query public users, posts, communities and trends.

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.

Query Parameters
  • userId
    Type: string

    User ID of the user

  • userName
    Type: string

    Screen name of the user

  • cursor
    Type: string

    Cursor for pagination

  • includeReplies
    Type: boolean

    Include replies in the results

Responses
  • 200
    Type: object · UserTweetsResponse

    User tweets

    • code
      Type: integer

      Provider status code.

    • data
      Type: object
      • pin_tweet
        Type: object nullable
        • propertyName
          Type: anything
      • tweets
        Type: array object[]

        Tweet object returned by TwitterAPI.io.

        • propertyName
          Type: anything
      • propertyName
        Type: anything
    • has_next_page
      Type: boolean
    • msg
      Type: string
    • next_cursor
      Type: string nullable
    • status
      Type: string enum
      values
      • success
      • error
    application/json
  • 400

    The request could not be processed. Check the request parameters.

  • 401

    A valid Felo API key is required.

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    A request or spending limit has been reached.

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for get/v1/beta/twitter/user/last_tweets
curl https://openapi.felo.ai/v1/beta/twitter/user/last_tweets \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "status": "success",
  "code": 1,
  "msg": "string",
  "data": {
    "tweets": [
      {
        "additionalProperty": "anything"
      }
    ],
    "pin_tweet": {
      "additionalProperty": "anything"
    },
    "additionalProperty": "anything"
  },
  "has_next_page": true,
  "next_cursor": "string"
}
Get User Last Tweets