更新时间:2022-03-05 17:37:00
您的前两个错误是因为您向GetRequestToken
或GetAccessToken
传递了过多或不足的参数-看看它们要花多少! (如果您无法弄清这些错误的含义,那么您以前编程过吗?如果您被卡在这样的事情上,建议您尝试更简单的方法.)
这是您的代码-类型问题的错误.替换OAuthTokenResponse RequestToken = OAuthUtility.GetRequestToken(consumerKey, consumerSecret);
与Twitterizer.OAuthTokenResponse RequestToken = OAuthUtility.GetRequestToken(consumerKey, consumerSecret);
希望这会有所帮助,
埃德:)
Your first two errors are because you have passed too much or not enough arguments toGetRequestToken
orGetAccessToken
- look at how many they take! (If you can''t work out what those errors mean, have you ever programmed before? I suggest you try something more simple if you''re stuck on things like this.)
This is a bug with your code - types issue. ReplaceOAuthTokenResponse RequestToken = OAuthUtility.GetRequestToken(consumerKey, consumerSecret);
withTwitterizer.OAuthTokenResponse RequestToken = OAuthUtility.GetRequestToken(consumerKey, consumerSecret);
Hope this helps,
Ed :)