开发者

Get current user screenname from Twitter

开发者 https://www.devze.com 2023-01-06 10:38 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号