X

Get the posts an X account highlights

Returns the profile's Highlights tab: posts the account chose to feature. Only accounts with X Premium can highlight, so for others the list is empty. 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}/highlights

Request

  • Base URL: https://api.weirapp.io
  • URL: https://api.weirapp.io/v1/x/users/{user}/highlights
  • 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

Highlighted posts.

Changes

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