获取Twitter的用户名OAuth认证后, [英] Get Twitter User Name after oauth Authentication

查看:538
本文介绍了获取Twitter的用户名OAuth认证后,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用OAuth我可以能够成功地登录并转发回我的asp.net应用程序。

Using oAuth i can able to sucessfully login and forward it back to my asp.net application.

我怎样才能得到验证人的用户名。在这一点上,我只是有一个验证的OAuth。

how can i get the username of the authenticated person. At this point i just have an authenticated oAuth.

推荐答案

verify_credentials API请求将返回有关当前登录用户的信息。

The verify_credentials API request will return information about the currently logged in user.

此外,Twitter的一个OAuth访问令牌请求(即中的OAuth登录过程的最后一部分)响应与用户的网名和Twitter用户ID旁边的惯常的OAuth令牌和秘密的响应。

Also, Twitter's response to an OAuth access token request (i.e. the last part of the OAuth login procedure) responds with the user's screen name and Twitter user ID alongside the usual oauth token and secret.

这篇关于获取Twitter的用户名OAuth认证后,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆