Getting screen_name and id_str after OAuth


#1

Since OAuth doesn’t tell me anything about the user who just authenticated, I need the
screen_name and/or id_str in order to make subsequent calls.

currently, i’m using:

    <code>GET account/settings</code>

to get the screen_name, followed by a

    <code>GET users/show</code>

to get the id_str

is there a way to get both back in one call?

thanks!


#2

#3

[node:9749] can serve this purpose for you. It returns a user object for the “current user” identified by an access token.


#4

great – thanks!