[twitter-dev] Get screen name with OAuth

2009-11-20 Thread Bladimir Arroyo Blanco
I guess this is a simple call to the API but I am not able to find the
right answer, and the twitter gem I am using doesn't seem to provide
that functionality, so what I want to know if is there a way I can get
the screen_name or Id of an authenticated user via oauth using the
access token and secret?



Re: [twitter-dev] Get screen name with OAuth

2009-11-20 Thread Raffi Krikorian

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentials


I guess this is a simple call to the API but I am not able to find the
right answer, and the twitter gem I am using doesn't seem to provide
that functionality, so what I want to know if is there a way I can get
the screen_name or Id of an authenticated user via oauth using the
access token and secret?



--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi






Re: [twitter-dev] Get screen name with OAuth

2009-11-20 Thread ryan alford
In the query string of the returned response, there is a field called
screen_name.  That will contain the screen name of the user that
authorized the application.

So when you get oauth_token and oauth_token_secret from the response,
get screen_name also.

Ryan

On Fri, Nov 20, 2009 at 10:51 AM, Raffi Krikorian ra...@twitter.com wrote:


 http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentials


  I guess this is a simple call to the API but I am not able to find the
 right answer, and the twitter gem I am using doesn't seem to provide
 that functionality, so what I want to know if is there a way I can get
 the screen_name or Id of an authenticated user via oauth using the
 access token and secret?


 --
 Raffi Krikorian
 Twitter Platform Team
 ra...@twitter.com | @raffi