X

Get a public X user timeline

Returns an account's own posts and reposts, newest first, with any pinned post first. Replies are on getXUserReplies. 404 when the account does not exist, or is protected: a protected account's posts and connections are visible only to accounts it approved. Billed per post returned. The first page also bills one profile lookup, to resolve {user}; later pages carry the account in the cursor and do not.

get/v1/x/users/{user}/posts

Request

  • Base URL: https://api.weirapp.io
  • URL: https://api.weirapp.io/v1/x/users/{user}/posts
  • Auth: HTTP bearer

Path parameters

userstring required

A username, with or without the @, or a numeric account id. An all-digit value is read as an id.

Example:example_dev

Query parameters

limitinteger

Most posts to return. X may return fewer.

Example:20
cursorstring

Opaque cursor from the previous page's meta.nextCursor. Pass it back unchanged, with the same path and query parameters; a cursor from another request is rejected with 400.

Response

Timeline posts, in X's own field names.

Changes

No recorded changes to this operation across all 1 revision of this API.