user_id vs screen name


how can i determine if a given number is the user_id or the screen_name


Depends on where you’ve gotten the data. The difference between a user_id and a screen_name is usually pretty clear in Tweet and User objects distributed through the Twitter API – the fields are clearly labeled. When requesting data, always use the explicit approach and for best results always you an ID to perform any kind of look up.


I am unable to get access token it is giving null pointer exception because of that i am not getting screen name can any body help me?


same problem!


same here




Can any one help me to get active login user information. I want to get screen name form an active login by php. Can any one help me please?


Getting same error, please help.