Shw*_*nka 2 java oauth twitter4j
这是我在打电话时得到的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>
Run Code Online (Sandbox Code Playgroud)
我多次调试代码,并在上面调用之前找到了所有凭据.任何使用过twitter4j的人都能指出问题吗?或者我应该使用另一个oauth库?有什么建议?
| 归档时间: |
|
| 查看次数: |
3958 次 |
| 最近记录: |