Skip to content

X get authenticated user API: GET /2/users/me

When PubNio calls X's get authenticated user request, GET /2/users/me: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision.

PubNio calls X’s GET /2/users/me (getUsersMe) to identify the X account a person just signed in with.

How PubNio calls it

Scopes

  • The pinned spec lists 2 scopes, all required: tweet.read and users.read.
  • PubNio’s X sign-in requests every one of them.

Errors

PubNio has no X error code pages yet. Provider error codes covers the providers that have them.

Spec and changes

getUsersMe in the pinned spec, revision 2.175.

Checked weekly; no change to GET /2/users/me recorded since this revision. Change tracker.

Limits

  • PubNio does not call it again to refresh a display name or avatar after the account is saved; reconnecting the account reads them again.

Sources

Type to search…

↑↓ navigate↵ selectEsc close