【问题标题】:twitter authentication API issuetwitter 身份验证 API 问题
【发布时间】:2015-03-28 21:35:03
【问题描述】:

在重定向之前auth 的 twitter API 中,我得到 http://api.twitter.com/oauth/authenticate?oauth_token=345werfgsdfgsdfg 而不是 https://api.twitter.com/oauth/authenticate?oauth_token=345werfgsdfgsdfg 并且响应 SSL is required

但我配置了 SSL,但 Twitter 仍然重定向到 http,而不是 https。

我做错了吗?

请帮帮我。

【问题讨论】:

  • 你是发送请求到http还是https地址?你能直接点击https地址并避免重定向吗?
  • 谢谢,但我只使用 https 地址,如果我使用 https,则登录页面即将到来
  • 您使用的是哪个库?你更新到最新版本了吗?
  • org.twitter4jtwitter4j-core3.0.3

标签: java ssl twitter oauth


【解决方案1】:

当我将 twitter4j 版本 3.0.3 更改为 3.0.6 时,它对我有用 谢谢

【讨论】:

    猜你喜欢
    • 2015-11-09
    • 2013-06-16
    • 2011-04-25
    • 2014-06-24
    • 2019-09-26
    • 1970-01-01
    • 2020-05-28
    • 2017-07-14
    相关资源
    最近更新 更多