【发布时间】:2011-11-01 10:29:16
【问题描述】:
这是我在致电twitter.getOauthRequestToken(callbackUrl) 时得到的信息。
我添加了正确的消费者密钥和消费者密码。
401:Authentication credentials (https://dev.twitter.com/docs/auth) were missing or incorrect. Ensure that you have set valid conumer key/secret, access token/secret, and the system clock in in sync.
<?xml version="1.0" encoding="UTF-8"?>
<hash>
<error>Desktop applications only support the oauth_callback value 'oob'</error>
<request>/oauth/request_token</request>
</hash>
我多次调试代码,并在进行上述调用之前找到了所有凭据。 有没有用过twitter4j的可以指出问题吗?或者我应该使用另一个 oauth 库吗?有什么建议吗?
【问题讨论】: