Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,由于没有回应,我改变了我的问题。
我有来自 Twitterizer 的令牌和秘密。但我没有用户名。如何使用这些令牌获取用户名?
TwitterUser.Show() 方法需要用户名或 ID,我没有两者!
请帮忙!
以前的版本中没有可用的方法,但是,在 2.3 预览版(我大约一小时前发布)中,您可以使用一种新方法:
TwitterAccount.VerifyCredentials(OAuthTokens)
您应该真正将用户名或(甚至更好)用户 ID 与访问令牌一起存储,因为许多方法都需要其中一种。