Get current user screenname from Twitter
Is there a way to get the screenname of the current 开发者_Go百科logged in user?
The show
requires id
or user_id
or screen_name
, but I don't have any of those.
I could only think about a workaround, that would be to make a request to twitter.com and get the contents of the <span id="me_name">
have you tried account/verify_credentials
It's not possible without oAuth.
The only workaround is the one mentioned on the question.
精彩评论