Curious, how would I get the username of an authenticated user? (i.e. given a users account credentials, how do we get the username or user_id?)

I would like to add a “validation” step for this endpoint: /2/users/:source_user_id/following for following users.

thanks!

In v1.1 a call to GET account/verify_credentials | Docs | Twitter Developer Platform returns the user object, in v2 i don’t know

1 Like

Nobody know how to do that in v2?