开发者

I have Twitter token and secret. I want to get Twitter screen name. how do I do it in Twitterizer? [closed]

开发者 https://www.devze.com 2023-01-14 11:11 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably a开发者_开发百科nswered in its current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably a开发者_开发百科nswered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 9 years ago.

Hi since there was no response I changed my question.

I have the token and secret from Twitterizer. but i dont have the username. How can I get the username by using these tokens?

the TwitterUser.Show() method requires username or id, i dont have both!

please help!


There was no method available in previous releases, however, in the 2.3 preview (that I published about an hour ago) there is a new method you can use for this:

TwitterAccount.VerifyCredentials(OAuthTokens)

You should really store the user name or (even better) the user ID along with the access token, since many methods require at one or the other.

0

精彩评论

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